commit f2b4428

hovercats  ·  2024-05-14 09:58:25 +0000 UTC
parent cb0457f
zip: fix shellcheck
1 files changed,  +5, -0
+5, -0
 1@@ -2,16 +2,21 @@
 2 
 3 export CFLAGS="$CFLAGS -DNO_BZIP_SUPPORT"
 4 
 5+
 6 for p in *.patch; do
 7     patch -p1 < "$p"
 8 done
 9 
10+# The ZIPS variable is intentionally single quoted
11+# shellcheck disable=SC2016
12 make \
13     prefix=/usr \
14     CC="$CC -static $LDFLAGS $CFLAGS $CXXFLAGS" \
15     ZIPS='zip$E' \
16     -f unix/Makefile generic
17 
18+# The ZIPS variable is intentionally single quoted
19+# shellcheck disable=SC2016
20 make \
21     prefix="$1/usr" \
22     MANDIR="$1/usr/share/man/man1" \