aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%/.bash_utils
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-11-27 17:07:32 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-11-27 17:07:32 +0300
commitd3fcf20ccdf76314d461b91ec1035734f04d6221 (patch)
tree8c80b4437612c8b4fc974d1f334d3c40fa6d0e3c /%HOME%/.bash_utils
parentsums_update_all: exclude sha1sums.txt (diff)
downloadlinux-home-d3fcf20ccdf76314d461b91ec1035734f04d6221.tar.gz
linux-home-d3fcf20ccdf76314d461b91ec1035734f04d6221.zip
sums_update_all: bugfix
Diffstat (limited to '%HOME%/.bash_utils')
-rw-r--r--%HOME%/.bash_utils/distr.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/%HOME%/.bash_utils/distr.sh b/%HOME%/.bash_utils/distr.sh
index 8baba56..161c276 100644
--- a/%HOME%/.bash_utils/distr.sh
+++ b/%HOME%/.bash_utils/distr.sh
@@ -73,7 +73,7 @@ sums_update_all() (
while IFS= read -d '' -r path; do
paths+=("$path")
- done < <( find . -type f -\! -name "$sums_path" -printf '%P\0' )
+ done < <( find . -type f -\! -name "$( basename -- "$sums_path" )" -printf '%P\0' )
sums_update ${paths[@]+"${paths[@]}"}
)