Skip to content

Commit 877e88d

Browse files
author
Samuel Vandamme
committed
Fix for unset parameter
1 parent 3d99256 commit 877e88d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ set -e
66
echo "Preparing to install CoScale CLI"
77

88
# Check command arguments
9-
if [ -z "$COSCALE_APPID" ]; then
9+
if [ -z ${COSCALE_APPID+x} ]; then
1010
echo "App id:"
1111
read -e COSCALE_APPID
1212
fi
1313

14-
if [ -z "$COSCALE_TOKEN" ]; then
14+
if [ -z ${COSCALE_TOKEN+x} ]; then
1515
echo "Access token:"
1616
read -e COSCALE_TOKEN
1717
fi

0 commit comments

Comments
 (0)