summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/package/2.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/package/2.sh b/lib/package/2.sh
index b9882be..5b8b0bb 100644
--- a/lib/package/2.sh
+++ b/lib/package/2.sh
@@ -55,6 +55,10 @@ _ob_get_binary_packages_2()
for _obgbp2_pkg_control in "${_OB_PACKAGE_DIR}/"*'.pkg/control'; do
+ if [ ! -f "${_obgbp2_pkg_control}" ]; then
+ continue
+ fi
+
_obgbp2_pkg_control="${_obgbp2_pkg_control%.pkg/control}"
_obgbp2_pkg_control="${_obgbp2_pkg_control##*/}"