diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2025-01-09 23:17:37 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2025-01-09 23:17:37 +0100 |
| commit | f04bb93e982060ed27e5cf6e4a8d97edeb0910b6 (patch) | |
| tree | 5dc44812f253699dc3b05be7895169ece61e6453 /tools | |
| parent | 0a1fdd0eb9642e52f985971827beb33d54f21cf4 (diff) | |
| download | vis-lspc-f04bb93e982060ed27e5cf6e4a8d97edeb0910b6.tar.gz vis-lspc-f04bb93e982060ed27e5cf6e4a8d97edeb0910b6.zip | |
extract the upwards find code into the util module
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/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" |
