3
0
Fork 0
forked from mirrors/nixpkgs

msgviewer: indent

This commit is contained in:
Peter Hoeg 2017-08-18 20:04:09 +08:00
parent cc1c817fdc
commit fb70d08232

View file

@ -20,9 +20,9 @@ in stdenv.mkDerivation rec {
mv $dir/${uname}/* $dir
rmdir $dir/${uname}
cat <<_EOF > $out/bin/msgviewer
#!${stdenv.shell} -eu
${stdenv.lib.getBin jre}/bin/java -jar $dir/MSGViewer.jar $@
_EOF
#!${stdenv.shell} -eu
exec ${stdenv.lib.getBin jre}/bin/java -jar $dir/MSGViewer.jar "\$@"
_EOF
chmod 755 $out/bin/msgviewer
'';