-
-
Save pydevops/2afff4b83523e9ae0f7d56ea85f62d91 to your computer and use it in GitHub Desktop.
Execute makeself script from anywhere (https://github.com/megastep/makeself)
This file contains hidden or 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
MAKESELFPATH=/opt/makeself | |
PAYLOADFOLDER=$(readlink -e $1) | |
OUTPUTFILENAME=$(pwd)/$2 | |
LABEL=$3 | |
INSTALLER=$(readlink -e $4) | |
cd $MAKESELFPATH | |
echo "Executing: sh makeself.sh $PAYLOADFOLDER $OUTPUTFILENAME $LABEL $INSTALLER" | |
sh makeself.sh $PAYLOADFOLDER $OUTPUTFILENAME $LABEL $INSTALLER |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment