summaryrefslogtreecommitdiffstats
path: root/tools/perf/arch/x86/tests/gen-insn-x86-dat.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/arch/x86/tests/gen-insn-x86-dat.sh')
-rwxr-xr-xtools/perf/arch/x86/tests/gen-insn-x86-dat.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/arch/x86/tests/gen-insn-x86-dat.sh b/tools/perf/arch/x86/tests/gen-insn-x86-dat.sh
index 0d0a003a9c..89c46532cd 100755
--- a/tools/perf/arch/x86/tests/gen-insn-x86-dat.sh
+++ b/tools/perf/arch/x86/tests/gen-insn-x86-dat.sh
@@ -11,7 +11,7 @@ if [ "$(uname -m)" != "x86_64" ]; then
exit 1
fi
-cd $(dirname $0)
+cd "$(dirname $0)"
trap 'echo "Might need a more recent version of binutils"' EXIT