diff options
Diffstat (limited to 'src/opkbuild.sh')
-rw-r--r-- | src/opkbuild.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/opkbuild.sh b/src/opkbuild.sh index a63bde4..ebf010d 100644 --- a/src/opkbuild.sh +++ b/src/opkbuild.sh @@ -284,6 +284,9 @@ build_source() if ! OB_DO_SOURCE='true' '@@BINDIR@@/ob-buildopk'; then exit 1 fi + if ! OB_DO_SOURCE='true' '@@BINDIR@@/ob-genchanges'; then + exit 1 + fi rm -Rf "src-${src}.data" || ob_error "$(ob_get_msg 'cant_rm_src_pkg_data')" } @@ -350,8 +353,7 @@ build() ;; esac - # TODO: Remove the ":" when ob-genchanges is implemented. - if ! : '@@BINDIR@@/ob-genchanges'; then + if ! '@@BINDIR@@/ob-genchanges'; then exit 1 fi } |