diff options
Diffstat (limited to 'tests/print-execstack.sh')
-rwxr-xr-x | tests/print-execstack.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/print-execstack.sh b/tests/print-execstack.sh index e34fad8..afd45a2 100755 --- a/tests/print-execstack.sh +++ b/tests/print-execstack.sh @@ -1,14 +1,14 @@ #! /bin/sh -e -SCRATCH=scratch/$(basename $0 .sh) +SCRATCH=scratch/$(basename "$0" .sh) PATCHELF=$(readlink -f "../src/patchelf") -rm -rf ${SCRATCH} -mkdir -p ${SCRATCH} +rm -rf "${SCRATCH}" +mkdir -p "${SCRATCH}" -cp simple ${SCRATCH}/ -cp simple-execstack ${SCRATCH}/ +cp simple "${SCRATCH}"/ +cp simple-execstack "${SCRATCH}"/ -cd ${SCRATCH} +cd "${SCRATCH}" if ! ${PATCHELF} --print-execstack simple | grep -q 'execstack: -'; then echo "wrong execstack detection" |