I want to simplify installation of the app on Linux system, to make it sort of one click. To do that I hope to combine bash script with compressed tar.
So I have install.sh
and some_app.tar.gz
files.
Then I have an Ant task that does this:
cat install.sh some_app.tar.gz > some_app.exe
In short, file reads itself, decompresses tarball and extracts files and changes permissions.
When I run install.sh
separately it works fine, but once I run some_app.exe
it fails with the following error:
/some_app.exe: line 4: Binary file (standard input) matches + 1: arithmetic syntax error
So I wonder if text can be combined with binary?