build-support/writeTextFile: fix for names with spaces

I am sorry.
This commit is contained in:
K900 2022-02-28 19:51:03 +03:00
parent 8379968bb2
commit 3fae68b30c

View file

@ -121,7 +121,7 @@ rec {
allowSubstitutes = false;
}
''
target=$out${destination}
target=$out${lib.escapeShellArg destination}
mkdir -p "$(dirname "$target")"
if [ -e "$textPath" ]; then