Merge pull request #4453 from abbradar/patch-1

Use "pipefail" in setup.sh
This commit is contained in:
Eelco Dolstra 2014-10-10 14:04:13 +02:00
commit 3c6efec2c0

View file

@ -1,4 +1,5 @@
set -e
set -o pipefail
: ${outputs:=out}
@ -568,10 +569,6 @@ patchPhase() {
for i in $patches; do
header "applying patch $i" 3
if [ ! -r "$i" ]; then
echo "file $i does not exist or not readable"
exit 1
fi
local uncompress=cat
case "$i" in
*.gz)