## Start the build
docker run --volume ${CURDIR}/build:/home/deb/build --interactive --rm tigervnc/${DOCKER} \
- bash -c "
- tar -C ~/build -axf ~/build/tigervnc_${VERSION}.orig.tar.xz &&
- cp -a ~/build/debian ~/build/tigervnc-${VERSION}/debian &&
- mk-build-deps ~/build/tigervnc-${VERSION}/debian/control &&
- sudo dpkg --unpack ~/tigervnc-build-deps_*.deb &&
- sudo apt-get update &&
- sudo apt-get -f install -y &&
- cd ~/build/tigervnc-${VERSION} && dpkg-buildpackage
+ bash -e -x -c "
+ tar -C ~/build -axf ~/build/tigervnc_${VERSION}.orig.tar.xz;
+ cp -a ~/build/debian ~/build/tigervnc-${VERSION}/debian;
+ mk-build-deps ~/build/tigervnc-${VERSION}/debian/control;
+ sudo dpkg --unpack ~/tigervnc-build-deps_*.deb;
+ sudo apt-get update;
+ sudo apt-get -f install -y;
+ cd ~/build/tigervnc-${VERSION} && dpkg-buildpackage;
"
mkdir -p ${CURDIR}/result
## Start the build
docker run --volume ${CURDIR}/rpmbuild:/home/rpm/rpmbuild --interactive --rm tigervnc/${DOCKER} \
- bash -c "
- sudo yum install -y epel-release &&
- sudo yum-builddep -y ~/rpmbuild/SPECS/tigervnc.spec &&
- sudo chown 0.0 ~/rpmbuild/SOURCES/* &&
- sudo chown 0.0 ~/rpmbuild/SPECS/* &&
- rpmbuild -ba ~/rpmbuild/SPECS/tigervnc.spec
+ bash -e -x -c "
+ sudo yum install -y epel-release;
+ sudo yum-builddep -y ~/rpmbuild/SPECS/tigervnc.spec;
+ sudo chown 0.0 ~/rpmbuild/SOURCES/*;
+ sudo chown 0.0 ~/rpmbuild/SPECS/*;
+ rpmbuild -ba ~/rpmbuild/SPECS/tigervnc.spec;
"
mkdir -p ${CURDIR}/result
## Start the build
docker run --volume ${CURDIR}/rpmbuild:/home/rpm/rpmbuild --interactive --rm tigervnc/${DOCKER} \
- bash -c "
- sudo dnf builddep -y ~/rpmbuild/SPECS/tigervnc.spec &&
- sudo chown 0.0 ~/rpmbuild/SOURCES/* &&
- sudo chown 0.0 ~/rpmbuild/SPECS/* &&
- rpmbuild -ba ~/rpmbuild/SPECS/tigervnc.spec
+ bash -e -x -c "
+ sudo dnf builddep -y ~/rpmbuild/SPECS/tigervnc.spec;
+ sudo chown 0.0 ~/rpmbuild/SOURCES/*;
+ sudo chown 0.0 ~/rpmbuild/SPECS/*;
+ rpmbuild -ba ~/rpmbuild/SPECS/tigervnc.spec;
"
mkdir -p ${CURDIR}/result
## Start the build
docker run --volume ${CURDIR}/build:/home/deb/build --interactive --rm tigervnc/${DOCKER} \
- bash -c "
- tar -C ~/build -axf ~/build/tigervnc_${VERSION}.orig.tar.xz &&
- cp -a ~/build/debian ~/build/tigervnc-${VERSION}/debian &&
- mk-build-deps ~/build/tigervnc-${VERSION}/debian/control &&
- sudo dpkg --unpack ~/tigervnc-build-deps_*.deb &&
- sudo apt-get update &&
- sudo apt-get -f install -y &&
- cd ~/build/tigervnc-${VERSION} && dpkg-buildpackage
+ bash -e -x -c "
+ tar -C ~/build -axf ~/build/tigervnc_${VERSION}.orig.tar.xz;
+ cp -a ~/build/debian ~/build/tigervnc-${VERSION}/debian;
+ mk-build-deps ~/build/tigervnc-${VERSION}/debian/control;
+ sudo dpkg --unpack ~/tigervnc-build-deps_*.deb;
+ sudo apt-get update;
+ sudo apt-get -f install -y;
+ cd ~/build/tigervnc-${VERSION} && dpkg-buildpackage;
"
mkdir -p ${CURDIR}/result