
ojob ojob.io/unix/genSelfExtract path=mypack file=setup.sh setup=setup message=extracting... tmppath=/tmp/mystuff
Produces a self-extracting shell script from a folder with a setup script file.
| Name | Description |
|---|---|
| path | The folder path to include in the self-extracting shell script |
| file | The self-extracting shell script filename to create |
| setup | The shell script, on the folder path, that should be executed after extraction |
| message | The message to show will self-extracting |
| tmppath | If defined it will extract to the provided path and test, upon a second execution, if it exists and reuse it |