From f3821b7dacf4cba4c866b4ebd816029a81c2ce17 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 24 Sep 2018 22:44:39 -0600 Subject: [PATCH] export TELEBIT_VERSION --- usr/share/install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/usr/share/install.sh b/usr/share/install.sh index 33f0b44..dc67f5c 100644 --- a/usr/share/install.sh +++ b/usr/share/install.sh @@ -59,9 +59,9 @@ http_get() http_bash() { - _http_bash_url=$1 - _http_bash_args=${2:-} - _http_bash_tmp=$(mktemp) + local _http_bash_url=$1 + local _http_bash_args=${2:-} + local _http_bash_tmp=$(mktemp) $_my_http_get $_my_http_opts $_my_http_out "$_http_bash_tmp" "$_http_bash_url" bash "$_http_bash_tmp" $_http_bash_args; rm "$_http_bash_tmp" } @@ -77,7 +77,7 @@ export -f http_bash if [ -n "${TELEBIT_VERSION:-}" ]; then echo 'TELEBIT_VERSION='${TELEBIT_VERSION} fi -TELEBIT_VERSION=${TELEBIT_VERSION:-master} +export TELEBIT_VERSION=${TELEBIT_VERSION:-master} if [ -e "usr/share/install_helper.sh" ]; then bash usr/share/install_helper.sh "$@" else