aboutsummaryrefslogtreecommitdiff
path: root/testing/libgccjit/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-12-27 18:53:30 +0300
committerCem Keylan <cem@ckyln.com>2020-12-27 18:53:30 +0300
commit61a0949c07012e0d3c47b990a8736107295314f6 (patch)
treedef313af267ca7f7ca0dc5ace41cdf06716f7644 /testing/libgccjit/build
parent7d761d81018c2319a576969eb00218853c41b369 (diff)
downloadrepository-61a0949c07012e0d3c47b990a8736107295314f6.tar.gz
libgccjit: fix shellcheck error [TESTING]
Diffstat (limited to 'testing/libgccjit/build')
-rwxr-xr-xtesting/libgccjit/build8
1 files changed, 4 insertions, 4 deletions
diff --git a/testing/libgccjit/build b/testing/libgccjit/build
index 3d2dc7c1..6c703828 100755
--- 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 {} +