diff options
| author | Jack Jamison <jackqjamison@gmail.com> | 2026-07-25 11:11:55 -0400 |
|---|---|---|
| committer | Jack Jamison <jackqjamison@gmail.com> | 2026-07-25 11:11:55 -0400 |
| commit | 6b27d8c6ad1f0cbbb36775a0b8c4d462ac7f9929 (patch) | |
| tree | 889b580edda7e8ddbd8782f6685aad9113639ce7 /snag | |
| parent | 507d1d7d7a9487f76c72217832d115f3c429c7be (diff) | |
don't try to build stuff in the var path
Diffstat (limited to 'snag')
| -rwxr-xr-x | snag/configure | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/snag/configure b/snag/configure index ca3c638..bf45373 100755 --- a/snag/configure +++ b/snag/configure @@ -33,7 +33,7 @@ for target in $(echo "debug release"); do write ' description = CC $out' write " command = gcc -MD -MF \$out.d \$cflags_$target -c \$in -o \$out" - files="$(find . -name '*.c')" + files="$(find . -name '*.c' -not -path "./var/*")" sedstr=$(printf 's,^\./src/\(.*\)\.c$,%s\/%s\/\\1.o,g' $builddir $target) ofiles=$(echo "$files" | sed $sedstr) |
