diff options
author | Breno Rodrigues Guimaraes <brenorg@gmail.com> | 2023-03-11 11:34:25 -0300 |
---|---|---|
committer | Breno Rodrigues Guimaraes <brenorg@gmail.com> | 2023-03-11 11:37:11 -0300 |
commit | 8adc31ed7b30b689e50314c1c8a1842bc6e164af (patch) | |
tree | 75f3793d05ab86938a303eef4897412de18d704e /tests/print-execstack.sh | |
parent | 27cbc89d4830d5ae1fe3a2396f2a6042266895bc (diff) | |
download | patchelf-8adc31ed7b30b689e50314c1c8a1842bc6e164af.tar.gz |
Fix all shellcheck issues
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" |