ammonite: Fix arguments
This commit is contained in:
parent
8f46b51e86
commit
34d2819831
@ -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
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user