fix unbound var
This commit is contained in:
parent
472afaa2e7
commit
be13f167bd
|
@ -79,8 +79,8 @@ echo ""
|
|||
|
||||
my_tmp="$(mktemp -d)"
|
||||
#TELEBIT_TMP="$my_tmp/telebit"
|
||||
TELEBIT_REAL_PATH=$TELEBIT_PATH
|
||||
TELEBIT_TMP=$TELEBIT_PATH
|
||||
TELEBIT_REAL_PATH=${TELEBIT_PATH:-}
|
||||
TELEBIT_TMP=${TELEBIT_PATH:-}
|
||||
if [ -z "${TELEBIT_PATH:-}" ]; then
|
||||
echo 'TELEBIT_PATH="'${TELEBIT_PATH:-}'"'
|
||||
TELEBIT_PATH=/opt/$my_app
|
||||
|
|
Loading…
Reference in New Issue