diff options
author | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2017-07-19 13:01:03 +0100 |
---|---|---|
committer | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2017-07-19 13:02:08 +0100 |
commit | 1057a9ce6a887ca8652dbb86952b28561d00f169 (patch) | |
tree | bfb65f75d399beca1159db6222c424f98a9688a3 | |
parent | 4acf370911eb90bbfff65cb7facfb91222556d40 (diff) |
build-all: handle package build as one
() group commands so we do not have problems with packages being built in wrong
place
Change-Id: Id65941b5ea50ae7814f250397095f7a129abc838
-rwxr-xr-x | openstack-venvs/packages/debian/_build-all.sh | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/openstack-venvs/packages/debian/_build-all.sh b/openstack-venvs/packages/debian/_build-all.sh index 318d7ca..538d8b0 100755 --- a/openstack-venvs/packages/debian/_build-all.sh +++ b/openstack-venvs/packages/debian/_build-all.sh @@ -12,11 +12,13 @@ for package in cinder glance heat horizon keystone neutron nova openstack-cli sw do git clean -dfx $package - tar xf erp-$package*.orig.tar.gz - cd $package - rm -rf .pc - QUILT_PATCHES=debian/patches quilt push -a - debuild --no-lintian -uc -us -sa $DEBUILD_ARGS + ( + tar xf erp-$package*.orig.tar.gz + cd $package + rm -rf .pc + QUILT_PATCHES=debian/patches quilt push -a + debuild --no-lintian -uc -us -sa $DEBUILD_ARGS + ) echo "source=$BUILD_URL/artifact/`find . -name erp-${package}*.dsc`" >params-$package echo "repo=erp-17.08-staging" >>params-$package |