summaryrefslogtreecommitdiff
path: root/bin/lt
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2023-03-11 16:11:37 +0100
committerMarc Vertes <mvertes@free.fr>2023-03-11 16:11:37 +0100
commitabe00380ff8b708b890371c73116e1006ea05178 (patch)
treef4f626460464bcd2c4b05f1254aa4b66c6f4e1fc /bin/lt
parent5ce6dc90f8a078cfa46bdbba630ba07f0a167de6 (diff)
update
Diffstat (limited to 'bin/lt')
-rwxr-xr-xbin/lt1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/lt b/bin/lt
index f09f3b7..2a182f7 100755
--- a/bin/lt
+++ b/bin/lt
@@ -36,6 +36,7 @@ ca() {
pp() {
pp_s=$1 pp_b=$2 R1=''
while true; do
+ ! [ "$pp_s" ] && R1='' && return
[ "$pp_b" = "$pp_s" ] && break
pp_s=${pp_s%/*}
[ "$R1" ] && R1=$R1/.. || R1=..