Merge pull request #4453 from abbradar/patch-1

Use "pipefail" in setup.sh
wip/yesman
Eelco Dolstra 10 years ago
commit 3c6efec2c0
  1. 5
      pkgs/stdenv/generic/setup.sh

@ -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)

Loading…
Cancel
Save