diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2016-08-14 02:18:58 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2016-08-14 02:18:58 +0200 |
commit | bebba24c6a86775e5163f8f9359faf0893f3dbf3 (patch) | |
tree | 1d1faf468c66aea23390d0d78924917bdbb09be2 /.bashrc_distr | |
parent | export SHELLOPTS (diff) | |
download | linux-home-bebba24c6a86775e5163f8f9359faf0893f3dbf3.tar.gz linux-home-bebba24c6a86775e5163f8f9359faf0893f3dbf3.zip |
bugfix
Diffstat (limited to '.bashrc_distr')
-rw-r--r-- | .bashrc_distr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.bashrc_distr b/.bashrc_distr index 8968ca5..a680b6b 100644 --- a/.bashrc_distr +++ b/.bashrc_distr @@ -13,9 +13,9 @@ update_checksums() { } update_checksums_distr() { - local -a paths=() + local -a paths local path - while IFS= read -r -d $'\0' path; do + while IFS= read -d '' -r path; do paths+=("$path") done < <( find . -type f -\( -iname '*.exe' -o -iname '*.iso' -\) -print0 ) update_checksums "${paths[@]+"${paths[@]}"}" |