Created
August 19, 2014 12:57
-
-
Save erichs/01bb10aa16a80171358d to your computer and use it in GitHub Desktop.
Shell script with inline binary data
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo do_whatnot_first | |
tail -n +8 $0 | tar -zxf - -C /tmp | |
cd /tmp/my_extracted_tarfile_location | |
./configure && make && sudo make install | |
exit 0 | |
#//EOF | |
$ cat myprog.tar.gz >> binary.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment