summaryrefslogtreecommitdiff
path: root/tests/no-gnu-hash.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/no-gnu-hash.sh')
-rwxr-xr-xtests/no-gnu-hash.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/no-gnu-hash.sh b/tests/no-gnu-hash.sh
index 0ce93f4..b12542e 100755
--- a/tests/no-gnu-hash.sh
+++ b/tests/no-gnu-hash.sh
@@ -1,14 +1,14 @@
#! /bin/sh -e
-SCRATCH=scratch/$(basename $0 .sh)
+SCRATCH=scratch/$(basename "$0" .sh)
STRIP=${STRIP:-strip}
-rm -rf ${SCRATCH}
-mkdir -p ${SCRATCH}
+rm -rf "${SCRATCH}"
+mkdir -p "${SCRATCH}"
-cp simple ${SCRATCH}/
+cp simple "${SCRATCH}/"
-${STRIP} --remove-section=.gnu.hash ${SCRATCH}/simple
+${STRIP} --remove-section=.gnu.hash "${SCRATCH}/simple"
# Check if patchelf handles binaries with GNU_HASH in dynamic section but
# without .gnu.hash section
-../src/patchelf --set-interpreter /oops ${SCRATCH}/simple
+../src/patchelf --set-interpreter /oops "${SCRATCH}/simple"