Not failing if not doing chmod +x
svn path=/nixpkgs/trunk/; revision=13167
This commit is contained in:
parent
48741bce6e
commit
63e5663b2e
1 changed files with 1 additions and 1 deletions
|
@ -444,7 +444,7 @@ let
|
|||
n=$out${destination}
|
||||
mkdir -p "$(dirname "$n")"
|
||||
echo -n "$text" > "$n"
|
||||
test -n "$executable" && chmod +x "$n"
|
||||
(test -n "$executable" && chmod +x "$n") || true
|
||||
'';
|
||||
|
||||
# Shorthands for `writeTextFile'.
|
||||
|
|
Loading…
Reference in a new issue