aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-04-02 13:31:43 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2022-04-02 13:39:59 +0300
commit8bb3e262fafbe9ccbd3307a41d11acc6d2e5be23 (patch)
tree415c13ca12231ecc078246fdda608eed2eec0ffd
parentbash: remove unused or low-value stuff (diff)
downloadlinux-home-8bb3e262fafbe9ccbd3307a41d11acc6d2e5be23.tar.gz
linux-home-8bb3e262fafbe9ccbd3307a41d11acc6d2e5be23.zip
sums_list_paths: bugfix
Diffstat (limited to '')
-rw-r--r--%HOME%/.bash_utils/distr.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/%HOME%/.bash_utils/distr.sh b/%HOME%/.bash_utils/distr.sh
index 6d382e8..7a1996b 100644
--- a/%HOME%/.bash_utils/distr.sh
+++ b/%HOME%/.bash_utils/distr.sh
@@ -80,7 +80,8 @@ sums_list_paths() (
fi
IFS= read -r path
- path="${path#'*'}"
+ path="${path:1}"
+
[ -n "$escaped" ] && path="$( _sums_unescape_path "$path" )"
[ -n "$print_lines" ] && output+=("$line")