Skip to content

Commit

Permalink
git: apply config.prefix to paths
Browse files Browse the repository at this point in the history
see #15: Support configurable PREFIX
  • Loading branch information
rnpnr authored and michaelforney committed Oct 5, 2023
1 parent 07cb5a5 commit 59500f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/git/gen.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ build('hooklist', '$outdir/hook-list.h', {
'|', '$srcdir/generate-hooklist.sh', '$srcdir/Documentation/githooks.txt'
})

cc('exec-cmd.c', nil, {cflags=[[$cflags '-DFALLBACK_RUNTIME_PREFIX=""']]})
cc('exec-cmd.c', nil, {cflags=string.format([[$cflags '-DFALLBACK_RUNTIME_PREFIX="%s"']], config.prefix)})
cc('common-main.c')
cc('http.c')
cc('compat/regex/regex.c', nil, {cflags='$cflags -DGAWK -DNO_MBSUPPORT'})
Expand Down

0 comments on commit 59500f9

Please sign in to comment.