From bd999e960a04721a81017161dae21fcd8d5e2ab6 Mon Sep 17 00:00:00 2001 From: Kevin Smith Date: Wed, 11 Nov 2015 13:49:28 +0000 Subject: Break out of .deb packaging on error Test-Information: Ran the script until it started building (then cancelled it). Change-Id: I803f8aae2b042dea9870491dfd46bbc5a6fd88f6 diff --git a/Swift/Packaging/Debian/package_all_platforms.sh b/Swift/Packaging/Debian/package_all_platforms.sh index 7a5e7d3..1773515 100755 --- a/Swift/Packaging/Debian/package_all_platforms.sh +++ b/Swift/Packaging/Debian/package_all_platforms.sh @@ -1,5 +1,8 @@ #!/bin/bash +# Quit immediately if any part fails +set -e + ## To get to this stage you need to already have the pbuilder-dist stuff installed, and have already run: # for distro in squeeze sid lucid maverick; do # for arch in i386 amd64; do -- cgit v0.10.2-6-g49f6