mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
stdenv: Use "pipefail" in setup.sh
This commit is contained in:
parent
ca3ecb56ae
commit
66d89ef2a4
@ -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…
Reference in New Issue
Block a user