languagetool: fix arguments passing

This commit is contained in:
Igor Sharonov 2017-06-17 20:42:51 +03:00
parent 53835c93cb
commit 8506fc3653

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