aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Jamison <jackqjamison@gmail.com>2026-07-25 11:11:55 -0400
committerJack Jamison <jackqjamison@gmail.com>2026-07-25 11:11:55 -0400
commit6b27d8c6ad1f0cbbb36775a0b8c4d462ac7f9929 (patch)
tree889b580edda7e8ddbd8782f6685aad9113639ce7
parent507d1d7d7a9487f76c72217832d115f3c429c7be (diff)
don't try to build stuff in the var path
-rwxr-xr-xsnag/configure2
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)