Use `&&` instead of `;` in Docker pipeline

* In case of error, `&&` does not continue execution
pull/306/head
Hugo Hromic 2019-07-06 00:27:40 +01:00
parent 5436273ec7
commit 552f083024
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ if [ "${CONTAINER_EXISTS}" != "" ]; then
--volumes-from="${CONTAINER_NAME}" --name "${CONTAINER_NAME}_cont" \
pi-gen \
bash -e -o pipefail -c "dpkg-reconfigure qemu-user-static &&
cd /pi-gen; ./build.sh ${BUILD_OPTS} ;
cd /pi-gen; ./build.sh ${BUILD_OPTS} &&
rsync -av work/*/build.log deploy/" &
wait "$!"
else