stdenv: Use "pipefail" in setup.sh

This commit is contained in:
Nikolay Amiantov 2014-10-10 13:50:25 +04:00
parent ca3ecb56ae
commit 66d89ef2a4

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)