make makeself compression options optional.
This commit is contained in:
parent
6fa25a1258
commit
3647d47b6d
@ -13,6 +13,8 @@ GCC5ABI="F"
|
||||
MAKESELF=""
|
||||
BUILD_ROOT=../../build
|
||||
|
||||
MAKESELFOPTS="--bzip2"
|
||||
|
||||
if [ $# -eq 0 ] ; then
|
||||
echo ""
|
||||
echo "ERROR - Please specify build type"
|
||||
@ -51,6 +53,8 @@ while [ $# -gt 0 ] ; do
|
||||
|
||||
--gcc5abi) GCC5ABI="T" ; shift ;;
|
||||
|
||||
--xz) MAKESELFOPTS="--xz --complevel 9" ; shift ;;
|
||||
|
||||
*)
|
||||
#catch all for unknown arguments
|
||||
echo ""
|
||||
@ -181,7 +185,7 @@ fi
|
||||
|
||||
if test -n "$MAKESELF"; then
|
||||
echo "Creating self-extracting installer"
|
||||
$MAKESELF --xz --complevel 9 ${PACKAGE}/ ${PACKAGE}.run ${APPNAME} ./install.sh
|
||||
$MAKESELF ${MAKESELFOPTS} ${PACKAGE}/ ${PACKAGE}.run ${APPNAME} ./install.sh
|
||||
else
|
||||
echo "Creating tarball..."
|
||||
tar -cf ${PACKAGE}.tar ${PACKAGE}
|
||||
|
Loading…
Reference in New Issue
Block a user