summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-09-07 16:17:23 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-09-07 16:17:23 (EDT)
commit09ba922f5b7f35f975409b5c56bc0cbb1d123941 (patch)
treed5a1df239ee6ab062d5fac7d11969663af7198fd /src
parenta76420b7bd57d311b39fe3daa83b7184a4aa130a (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/opkbuild.sh7
1 files changed, 2 insertions, 5 deletions
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()