aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2025-01-09 23:17:37 +0100
committerFlorian Fischer <florian.fischer@muhq.space>2025-01-09 23:17:37 +0100
commitf04bb93e982060ed27e5cf6e4a8d97edeb0910b6 (patch)
tree5dc44812f253699dc3b05be7895169ece61e6453 /tools
parent0a1fdd0eb9642e52f985971827beb33d54f21cf4 (diff)
downloadvis-lspc-f04bb93e982060ed27e5cf6e4a8d97edeb0910b6.tar.gz
vis-lspc-f04bb93e982060ed27e5cf6e4a8d97edeb0910b6.zip
extract the upwards find code into the util module
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"