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