makeself icon indicating copy to clipboard operation
makeself copied to clipboard

pipe to sh

Open curzonj opened this issue 11 years ago • 2 comments

Is there any way to make the resulting file executable by piping to sh? Some tools use the following style command for running scripts and it would be really nice to be able to send in a makeself archive to those tools.

curl URL | sh

I zeroed out the checksums, but the script still seems to reference $0. I know arx can do it, but I imagine it combines the binary data with the shell script differently.

curzonj avatar Aug 03 '13 09:08 curzonj

Interesting idea, but yeah right now the script uses $0 to determine its actual location (since it needs to call tar and other commands on itself). I'm not sure how arx does it and whether it would translate to Makeself at all, but I'll take a look.

megastep avatar Aug 03 '13 18:08 megastep

looking forward this feature 👍

mritd avatar Sep 12 '23 13:09 mritd