summaryrefslogtreecommitdiffstats
path: root/src/ob-buildenv.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/ob-buildenv.sh')
-rw-r--r--src/ob-buildenv.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ob-buildenv.sh b/src/ob-buildenv.sh
index ad28fad..1cfa66c 100644
--- a/src/ob-buildenv.sh
+++ b/src/ob-buildenv.sh
@@ -30,8 +30,8 @@ main()
{
ob_set_text_domain 'opkbuild'
- ob_init_package '..'
- ob_parse_package_metadata -c '.opkbuild.cache'
+ ob_init_package '..' || exit 1
+ ob_parse_package_metadata -c '.opkbuild.cache' || exit 1
ob_info "$(ob_get_msg 'setup_build_env')"