aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.bashrc_distr
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-08-14 02:18:58 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2016-08-14 02:18:58 +0200
commitbebba24c6a86775e5163f8f9359faf0893f3dbf3 (patch)
tree1d1faf468c66aea23390d0d78924917bdbb09be2 /.bashrc_distr
parentexport SHELLOPTS (diff)
downloadlinux-home-bebba24c6a86775e5163f8f9359faf0893f3dbf3.tar.gz
linux-home-bebba24c6a86775e5163f8f9359faf0893f3dbf3.zip
bugfix
Diffstat (limited to '')
-rw-r--r--.bashrc_distr4
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[@]}"}"