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

View File

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