commit 61a0949c07012e0d3c47b990a8736107295314f6
parent 7d761d81018c2319a576969eb00218853c41b369
Author: Cem Keylan <cem@ckyln.com>
Date: Sun, 27 Dec 2020 18:53:30 +0300
libgccjit: fix shellcheck error [TESTING]
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/testing/libgccjit/build b/testing/libgccjit/build
@@ -63,10 +63,10 @@ make
make DESTDIR="$1" -C gcc install
# Remove unnecessary gcc files.
-rm -rf "$1/usr/bin" \
- "$1/usr/lib/gcc" \
- "$1/usr/libexec" \
- "$1/usr/share/man"
+rm -rf "${1:?}/usr/bin" \
+ "${1:?}/usr/lib/gcc" \
+ "${1:?}/usr/libexec" \
+ "${1:?}/usr/share/man"
# Remove info pages other than libgccjit
find "$1/usr/share/info" -type f ! -name libgccjit.info -exec rm -f {} +