ammonite: Fix arguments

This commit is contained in:
Tim Steinbach 2020-11-27 09:58:00 -05:00
parent 8f46b51e86
commit 34d2819831
No known key found for this signature in database
GPG Key ID: 6538CB9266B06F31

View File

@ -23,7 +23,7 @@ let
install -Dm755 $src $out/bin/amm install -Dm755 $src $out/bin/amm
sed -i '0,/java/{s|java|${jre}/bin/java|}' $out/bin/amm sed -i '0,/java/{s|java|${jre}/bin/java|}' $out/bin/amm
'' + optionalString (disableRemoteLogging) '' '' + optionalString (disableRemoteLogging) ''
sed -i '0,/ammonite.Main/{s|ammonite.Main|ammonite.Main --no-remote-logging|}' $out/bin/amm sed -i "0,/ammonite.Main/{s|ammonite.Main'|ammonite.Main' --no-remote-logging|}" $out/bin/amm
sed -i '1i #!/bin/sh' $out/bin/amm sed -i '1i #!/bin/sh' $out/bin/amm
''; '';