Merge pull request #26729 from igsha/languagetool

languagetool: fix arguments passing
This commit is contained in:
Jörg Thalheim 2017-06-24 18:21:00 +01:00 committed by GitHub
commit c09d4ae6a8

View File

@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
for lt in languagetool{,-commandline,-server};do
cat > $out/bin/$lt <<EXE
#!${stdenv.shell}
${jdk}/bin/java -cp $out/share/ -jar $out/share/$lt.jar $@
${jdk}/bin/java -cp $out/share/ -jar $out/share/$lt.jar "\$@"
EXE
chmod +x $out/bin/$lt
done