diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2017-04-17 05:23:08 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2017-04-17 05:23:08 +0300 |
commit | a6e8971d643db1a41afe2ebcee34f14a774a2da3 (patch) | |
tree | 6488ab267fb41f5928b4ab76f2f26007651ddd97 /%HOME%/.bash_utils | |
parent | branch_eol_normalized: bugfix (diff) | |
download | linux-home-a6e8971d643db1a41afe2ebcee34f14a774a2da3.tar.gz linux-home-a6e8971d643db1a41afe2ebcee34f14a774a2da3.zip |
code style
Diffstat (limited to '')
-rw-r--r-- | %HOME%/.bash_utils/distr.sh | 4 |
1 files 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" |