El 16/10/13 17:47, Aleksey Morarash escribió:
No, just packaging Erlang applications into zipped Erlang script
executable.

Its format can be described in next shell-script:

( echo '#!/usr/bin/env escript'
   echo '%%!-smp'
   zip -j - ebin/*; ) > target
chmod 755 target

But it works only when I add "| cat" after zip invocation:

( echo '#!/usr/bin/env escript'
   echo '%%!-smp'
   zip -j - ebin/* | cat; ) > target
chmod 755 target

Ok, not a self-extracting executable, but something very similar, something that anybody would think that it should work.

Fine, I've forwarded this upstream:

http://www.info-zip.org/phpBB3/viewtopic.php?f=6&t=422


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to