aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.bashrc_distr
diff options
context:
space:
mode:
Diffstat (limited to '.bashrc_distr')
-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[@]}"}"