Merge pull request #2534 from obfusk/patch-2

manual: quote $servlets
This commit is contained in:
Eelco Dolstra 2018-11-13 11:47:27 +01:00 committed by GitHub
commit 56f6e382be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1480,7 +1480,7 @@ stdenv.mkDerivation (rec {
builder = builtins.toFile "builder.sh" " builder = builtins.toFile "builder.sh" "
source $stdenv/setup source $stdenv/setup
mkdir $out mkdir $out
echo $servlets | xsltproc ${stylesheet} - > $out/server-conf.xml]]> <co xml:id='ex-toxml-co-apply' /> <![CDATA[ echo "$servlets" | xsltproc ${stylesheet} - > $out/server-conf.xml]]> <co xml:id='ex-toxml-co-apply' /> <![CDATA[
"; ";
stylesheet = builtins.toFile "stylesheet.xsl"]]> <co xml:id='ex-toxml-co-stylesheet' /> <![CDATA[ stylesheet = builtins.toFile "stylesheet.xsl"]]> <co xml:id='ex-toxml-co-stylesheet' /> <![CDATA[