From 8f5364e44b3779a8da58693d6d0cef7563cf0e7d Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Wed, 13 Mar 2019 04:03:44 -0400 Subject: ob_parse_dep(): Fix crash on dep without version, arches, or plats --- (limited to 'lib') 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 -- cgit v0.9.1