aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/find-upwards (renamed from tools/find-root)2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/find-root b/tools/find-upwards
index d2c71ab..5f0edfe 100755
--- a/tools/find-root
+++ b/tools/find-upwards
@@ -12,7 +12,7 @@ while read -r glob; do
cd "$BASEDIR"
while [ "$PWD" != "/" ]; do
- set -- $glob
+ set -- "$glob"
if [ -e "$1" ]; then
echo "$PWD"