diff options
Diffstat (limited to 'tests/contiguous-note-sections.sh')
-rwxr-xr-x | tests/contiguous-note-sections.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/contiguous-note-sections.sh b/tests/contiguous-note-sections.sh index 65abf0c..aa1f84a 100755 --- a/tests/contiguous-note-sections.sh +++ b/tests/contiguous-note-sections.sh @@ -1,6 +1,6 @@ #! /bin/sh -e -SCRATCH=scratch/$(basename $0 .sh) +SCRATCH=scratch/$(basename "$0" .sh) rm -rf "${SCRATCH}" mkdir -p "${SCRATCH}" @@ -10,4 +10,4 @@ cp contiguous-note-sections "${SCRATCH}/" # Running --set-interpreter on this binary should not produce the following # error: # patchelf: cannot normalize PT_NOTE segment: non-contiguous SHT_NOTE sections -../src/patchelf --set-interpreter ld-linux-x86-64.so.2 ${SCRATCH}/contiguous-note-sections +../src/patchelf --set-interpreter ld-linux-x86-64.so.2 "${SCRATCH}/contiguous-note-sections" |