diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2017-04-15 00:07:23 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2017-04-15 00:07:23 +0300 |
commit | 54937b86cc0dc1e2e7d6531db7f39ec0af0a7bea (patch) | |
tree | 977dd7c47b3a64d8d85c97754a6cea39e8ab9118 /%HOME%/.bash_utils | |
parent | sums_verify: --strict (diff) | |
download | linux-home-54937b86cc0dc1e2e7d6531db7f39ec0af0a7bea.tar.gz linux-home-54937b86cc0dc1e2e7d6531db7f39ec0af0a7bea.zip |
code style
Diffstat (limited to '%HOME%/.bash_utils')
-rw-r--r-- | %HOME%/.bash_utils/distr.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/%HOME%/.bash_utils/distr.sh b/%HOME%/.bash_utils/distr.sh index f5cbe43..7d67a10 100644 --- a/%HOME%/.bash_utils/distr.sh +++ b/%HOME%/.bash_utils/distr.sh @@ -95,7 +95,13 @@ sums_add_distr() ( while IFS= read -d '' -r path; do paths+=("$path") - done < <( find . -type f -\( -iname '*.exe' -o -iname '*.iso' -o -iname '*.tar.gz' -o -iname '*.tar.bz2' -o -iname '*.zip' -\) -printf '%P\0' ) + done < <( find . -type f -\( \ + -iname '*.exe' \ + -o -iname '*.iso' \ + -o -iname '*.tar.gz' \ + -o -iname '*.tar.bz2' \ + -o -iname '*.zip' \ + -\) -printf '%P\0' ) sums_add ${paths[@]+"${paths[@]}"} ) |