summaryrefslogtreecommitdiffstats
path: root/src/opkbuild.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/opkbuild.sh')
-rw-r--r--src/opkbuild.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/opkbuild.sh b/src/opkbuild.sh
index 56a359b..832b43c 100644
--- a/src/opkbuild.sh
+++ b/src/opkbuild.sh
@@ -410,6 +410,13 @@ step_bincontrol()
for pkg in ../*.pkg/; do
pkg="${pkg#../}"
pkg="${pkg%.pkg/}"
+ if [ "${pkg}" = '*' ]; then
+ if [ -d '../*.pkg' ]; then
+ oh_error "${oh_str_asterisk_binary_package}"
+ else
+ oh_error "${oh_str_no_binary_packages}"
+ fi
+ fi
oh_control_parse_binary "${pkg}"
for field in ${OH_CONTROL_BINARY_FIELDS_REQUIRED} \
${OH_CONTROL_BINARY_FIELDS_OPTIONAL}; do