From 61a0949c07012e0d3c47b990a8736107295314f6 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Sun, 27 Dec 2020 18:53:30 +0300 Subject: libgccjit: fix shellcheck error [TESTING] --- testing/libgccjit/build | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'testing') 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 {} + -- cgit v1.2.3