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