summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-03-18 13:06:08 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-03-18 13:06:08 (EDT)
commit715ccf55c90a5d41444b5f8af455c56ff8b8e239 (patch)
tree5bdaf8b882ef4138fc1656e17a50305c27b2fe61
parent953050d634d2842c904f8549226585e65b9181aa (diff)
ob-gencontrol: Skip "-" file name in md5sums
-rw-r--r--src/ob-gencontrol.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ob-gencontrol.sh b/src/ob-gencontrol.sh
index 4a6e943..c25fb89 100644
--- a/src/ob-gencontrol.sh
+++ b/src/ob-gencontrol.sh
@@ -174,6 +174,7 @@ gen_md5sums()
exec 3>"${binary}.control/md5sums"
while read -r sum file; do
+ case "${file}" in '-') continue;; esac
file="${file#${binary}.data}"
printf '%s %s\n' "${sum}" "${file}" >&3
done <<-EOF