From afa998eb32b4959d5deb253bb9f96c6fd3c7af20 Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Thu, 26 Mar 2015 15:44:54 -0700 Subject: stdenv: Substitute correctly chmods instead of .tmp which never exists --- pkgs/stdenv/generic/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" } -- cgit 1.4.1