use TELEBIT_VERSION

This commit is contained in:
AJ ONeal 2018-06-11 14:55:02 -06:00
parent de7221ef37
commit cd37449e97
1 changed files with 2 additions and 2 deletions

View File

@ -73,9 +73,9 @@ export -f http_bash
## END HTTP_GET ##
###############################
my_branch=master
TELEBIT_VERSION=${TELEBIT_VERSION:-master}
if [ -e "usr/share/install_helper.sh" ]; then
bash usr/share/install_helper.sh "$@"
else
http_bash https://git.coolaj86.com/coolaj86/telebit.js/raw/branch/$my_branch/usr/share/install_helper.sh "$@"
http_bash https://git.coolaj86.com/coolaj86/telebit.js/raw/branch/$TELEBIT_VERSION/usr/share/install_helper.sh "$@"
fi