diff options
Diffstat (limited to 'pkgs/stdenv/generic')
-rw-r--r-- | pkgs/stdenv/generic/setup.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/stdenv/generic/setup.sh b/pkgs/stdenv/generic/setup.sh index 452a80eadc75..75be719c2b95 100644 --- a/pkgs/stdenv/generic/setup.sh +++ b/pkgs/stdenv/generic/setup.sh @@ -370,7 +370,7 @@ substitute() { content="${content//"$pattern"/$replacement}" done - if [ -e "$output" ]; then chmod +w "$output".tmp; fi + if [ -e "$output" ]; then chmod +w "$output"; fi printf "%s" "$content" > "$output" } |