summaryrefslogtreecommitdiffstats
path: root/src/opkbuild.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/opkbuild.sh')
-rw-r--r--src/opkbuild.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/opkbuild.sh b/src/opkbuild.sh
index 59addf1..c6f6fc7 100644
--- a/src/opkbuild.sh
+++ b/src/opkbuild.sh
@@ -245,8 +245,8 @@ setup_package()
{
ob_info "$(ob_get_msg 'parse_package_metadata')"
- ob_init_package '..'
- ob_parse_package_metadata -c '.opkbuild.cache'
+ ob_init_package '..' || exit 1
+ ob_parse_package_metadata -c '.opkbuild.cache' || exit 1
OPK_SOURCE="$(ob_get_source_parameter 'Source')"
OPK_SOURCE_VERSION="$(ob_get_source_parameter 'Version')"