We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb16534 commit f54fb0bCopy full SHA for f54fb0b
scripts/tests.upgrade.sh
@@ -10,14 +10,14 @@ if ! [[ "$0" =~ scripts/tests.upgrade.sh ]]; then
10
exit 255
11
fi
12
13
-VERSION=$1
+VERSION="${1:-}"
14
if [[ -z "${VERSION}" ]]; then
15
echo "Missing version argument!"
16
echo "Usage: ${0} [VERSION] [NEW-BINARY]" >>/dev/stderr
17
18
19
20
-NEW_BINARY=$2
+NEW_BINARY="${2:-}"
21
if [[ -z "${NEW_BINARY}" ]]; then
22
echo "Missing new binary path argument!"
23
0 commit comments