summaryrefslogtreecommitdiff
path: root/tests/plain-needed.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/plain-needed.sh')
-rwxr-xr-xtests/plain-needed.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/plain-needed.sh b/tests/plain-needed.sh
index 8967303..e44293b 100755
--- a/tests/plain-needed.sh
+++ b/tests/plain-needed.sh
@@ -1,14 +1,14 @@
#! /bin/sh
set -e
-SCRATCH=scratch/$(basename $0 .sh)
+SCRATCH=scratch/$(basename "$0" .sh)
MAIN_ELF="${SCRATCH}/main"
PATCHELF="../src/patchelf"
-rm -rf ${SCRATCH}
-mkdir -p ${SCRATCH}
-cp main ${SCRATCH}/
+rm -rf "${SCRATCH}"
+mkdir -p "${SCRATCH}"
+cp main "${SCRATCH}"/
echo "Confirming main requires libfoo"
${PATCHELF} --print-needed "${MAIN_ELF}" | grep -q libfoo.so