Scripts: Fix to previous commit

This commit is contained in:
hedy 2023-10-10 16:47:44 +08:00
parent 20c26aa681
commit 0520f9f20e
Signed by: hedy
GPG Key ID: B51B5A8D1B176372
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ fi
rootdir="$(pwd)"
while [[ "$rootdir" != "" && ! -x "$rootdir/bin/$1" ]]; do
rootdir=${path%/*}
rootdir=${rootdir%/*}
done
if [[ ! -x "$rootdir/bin/$1" ]]; then