diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-03-13 04:03:44 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-03-13 04:03:44 (EDT) |
commit | 8f5364e44b3779a8da58693d6d0cef7563cf0e7d (patch) | |
tree | 29aa2c6e173c3135ba977c75d884de93e0e69015 | |
parent | 90c36e26defc2f56b8db1294b857a4028b197437 (diff) |
ob_parse_dep(): Fix crash on dep without version, arches, or plats
-rw-r--r-- | lib/deps.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/deps.sh b/lib/deps.sh index 348839a..5af26ac 100644 --- a/lib/deps.sh +++ b/lib/deps.sh @@ -145,10 +145,10 @@ ob_parse_dep() { IFS=':' read pkg archqual - read rel - read ver - read arches - read plats + read rel || : + read ver || : + read arches || : + read plats || : } <<-EOF ${dep} EOF |