From d3fcf20ccdf76314d461b91ec1035734f04d6221 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 27 Nov 2016 17:07:32 +0300 Subject: sums_update_all: bugfix --- %HOME%/.bash_utils/distr.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '%HOME%') 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[@]}"} ) -- cgit v1.2.3