summaryrefslogtreecommitdiffstats
path: root/src/suite.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/suite.sh
parent4d4570f81329f3e99cf0ce1b8ed61d5b9cb39026 (diff)
Make redirected FDs explicit
Diffstat (limited to 'src/suite.sh')
-rw-r--r--src/suite.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/suite.sh b/src/suite.sh
index e091fd7..73170a1 100644
--- a/src/suite.sh
+++ b/src/suite.sh
@@ -46,7 +46,7 @@ _suite_copy_source()
db_set_binver "${dst_chan}" "${dst_dist}" "${arch}" "${plat}" \
"${source}" "${binver}"
db_inc_references "${arch}" "${plat}" "${source}" "${binver}" \
- >/dev/null
+ 1>/dev/null
while read -r size sect pkg; do
pool_file="pool/$(hash_name "${source}")/${source}"
pool_file="${pool_file}/${pkg}_${binver}"
@@ -54,11 +54,11 @@ _suite_copy_source()
feed_add_package "${dst_chan}" "${dst_dist}" \
"${arch}" "${plat}" \
"${sect}" "${pkg}" "${size}" "${pool_file}"
- done <<-EOF
+ done 0<<-EOF
$(db_get_packages "${arch}" "${plat}" \
"${source}" "${binver}")
EOF
- done <<-EOF
+ done 0<<-EOF
$(db_get_archplats "${src_chan}" "${src_dist}" "${source}")
EOF
}