mirror of
https://github.com/ckolivas/lrzip.git
synced 2026-04-21 06:03:54 +00:00
Making sure last forward slash is removed from input path.
This commit is contained in:
parent
1959fad869
commit
897430d8cc
1 changed files with 1 additions and 0 deletions
1
lrztar
1
lrztar
|
|
@ -118,6 +118,7 @@ Notice:
|
|||
}
|
||||
done
|
||||
fi
|
||||
s="${s%/}"
|
||||
p+=( -o "$i/${s##*/}.tar.${vopt[v_S]}");
|
||||
! ((v_f)) && [[ -e $i/${s##*/}.tar.${vopt[v_S]} ]] && {
|
||||
printf "lrztar: %s exists, aborting\n" \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue