From 09ba922f5b7f35f975409b5c56bc0cbb1d123941 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 07 Sep 2013 16:17:23 -0400 Subject: opkbuild: Run ob-genchanges only if -T not given. This fixes the following superfluous errors: $ opkbuild -bCT source [...] ob-genchanges: Generating "opkbuild_3.0.0~beta1-1_core-linux-eglibc_dev.changes"... wc: ../../libopkbuild.1_3.0.0~beta1-1_all_all.opk: No such file or directory wc: ../../opkbuild_3.0.0~beta1-1_all_all.opk: No such file or directory --- (limited to 'src') diff --git a/src/opkbuild.sh b/src/opkbuild.sh index 5b5ff60..68fec15 100644 --- a/src/opkbuild.sh +++ b/src/opkbuild.sh @@ -335,7 +335,8 @@ build() ../build install && \ '@@BINDIR@@/ob-installdocs' && \ '@@BINDIR@@/ob-gencontrol' && \ - '@@BINDIR@@/ob-buildopk' + '@@BINDIR@@/ob-buildopk' && \ + '@@BINDIR@@/ob-genchanges' EOF if [ ${?} -ne 0 ]; then exit 1 @@ -352,10 +353,6 @@ build() fi ;; esac - - if ! '@@BINDIR@@/ob-genchanges'; then - exit 1 - fi } clean() -- cgit v0.9.1