From a6e8971d643db1a41afe2ebcee34f14a774a2da3 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 17 Apr 2017 05:23:08 +0300 Subject: code style --- %HOME%/.bash_utils/distr.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/%HOME%/.bash_utils/distr.sh b/%HOME%/.bash_utils/distr.sh index 810783e..0e2a196 100644 --- a/%HOME%/.bash_utils/distr.sh +++ b/%HOME%/.bash_utils/distr.sh @@ -8,7 +8,7 @@ sums_path='sha1sums.txt' sums_name="$( basename -- "$sums_path" )" -sums_unescape_path() { +_sums_unescape_path() { set -o errexit -o nounset -o pipefail if [ "$#" -ne 1 ]; then @@ -58,7 +58,7 @@ sums_list_paths() ( fi IFS= read -r path path="${path#'*'}" - [ -n "$escaped" ] && path="$( sums_unescape_path "$path" )" + [ -n "$escaped" ] && path="$( _sums_unescape_path "$path" )" paths+=("$path") done < "$sums_path" -- cgit v1.2.3