summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-04-01 16:00:35 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-04-01 16:00:35 +0200
commit3b9c4ca7bff76b84f8bf9f15afe62dfcc071b214 (patch)
tree378504ab2b00523a6e44a02f12ddbd0af0e0c03a /scripts
parente030bbd818f3cee94a8bda7df01a63f1a3439eb1 (diff)
avoid warning, when dir contains spaces
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/reloc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/reloc.sh b/scripts/reloc.sh
index 59323612f..03034ea35 100755
--- a/scripts/reloc.sh
+++ b/scripts/reloc.sh
@@ -4,7 +4,7 @@
olddir=$(grep "^TOPDIR" prereq.mk 2>/dev/null |cut -d '=' -f 2)
newdir=$(pwd)
-if [ ! -z $olddir ];then
+if [ ! -z "$olddir" ];then
if [ "$olddir" != "$newdir" ];then
echo "adk directory relocated!"
echo "old directory: $olddir"