summaryrefslogtreecommitdiffstats
path: root/src/include.sh
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-14 15:01:37 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-14 15:01:37 (EDT)
commite896f1bd0de35a4c2893f8d7b68028ae6f1c7d23 (patch)
tree900ba669d4791bd0b22ba5b4e6fcabb0f074c005 /src/include.sh
parent4d4570f81329f3e99cf0ce1b8ed61d5b9cb39026 (diff)
Make redirected FDs explicit
Diffstat (limited to 'src/include.sh')
-rw-r--r--src/include.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/include.sh b/src/include.sh
index 71e82ac..0c27f60 100644
--- a/src/include.sh
+++ b/src/include.sh
@@ -124,7 +124,7 @@ include_changes()
error 2 "$(get_msg 'include_bvap_exists')" \
"${binver}" "${arch}" "${plat}"
fi
- done <<-EOF
+ done 0<<-EOF
${bvaps}
EOF
fi
@@ -148,8 +148,8 @@ include_changes()
db_set_binver "${chan}" "${dist}" "${arch}" "${plat}" \
"${source}" "${binver}"
db_inc_references "${arch}" "${plat}" "${source}" "${binver}" \
- >/dev/null
- done <<-EOF
+ 1>/dev/null
+ done 0<<-EOF
${bvaps}
EOF
@@ -159,7 +159,7 @@ include_changes()
if [ "x${file##[ ]}" = 'x' ]; then
continue
fi
- IFS='_' read -r pkg binver arch plat <<-EOF
+ IFS='_' read -r pkg binver arch plat 0<<-EOF
${file%.opk}
EOF
db_add_package "${arch}" "${plat}" "${source}" "${binver}" \
@@ -171,7 +171,7 @@ include_changes()
cp -p -- "${file}" "${base_dir}/${pool_file}"
feed_add_package "${chan}" "${dist}" "${arch}" "${plat}" \
"${sect}" "${pkg}" "${size}" "${pool_file}"
- done <<-EOF
+ done 0<<-EOF
${_include_files}
EOF