diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2016-11-27 17:07:32 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2016-11-27 17:07:32 +0300 |
commit | d3fcf20ccdf76314d461b91ec1035734f04d6221 (patch) | |
tree | 8c80b4437612c8b4fc974d1f334d3c40fa6d0e3c /%HOME%/.bash_utils | |
parent | sums_update_all: exclude sha1sums.txt (diff) | |
download | linux-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.sh | 2 |
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[@]}"} ) |