From b6885703808881385560766beec4e722852130aa Mon Sep 17 00:00:00 2001 From: Marco Ippolito Date: Mon, 17 Nov 2014 23:51:33 +0100 Subject: [PATCH] Corrected quoting of parameter expansions in hacking/env-setup Conflicts: hacking/env-setup --- hacking/env-setup | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hacking/env-setup b/hacking/env-setup index f91259750f..39b0f31a67 100755 --- a/hacking/env-setup +++ b/hacking/env-setup @@ -4,9 +4,9 @@ # When run using source as directed, $0 gets set to bash, so we must use $BASH_SOURCE if [ -n "$BASH_SOURCE" ] ; then - HACKING_DIR=$(dirname $BASH_SOURCE) -elif [ $(basename $0) = "env-setup" ]; then - HACKING_DIR=$(dirname $0) + HACKING_DIR=$(dirname "$BASH_SOURCE") +elif [ $(basename "$0") = "env-setup" ]; then + HACKING_DIR=$(dirname "$0") else HACKING_DIR="$PWD/hacking" fi