Skip to content

Commit d86a0d4

Browse files
Erik SvedangErik Svedang
authored andcommitted
Try single '='
1 parent 3d8e173 commit d86a0d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/release.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
#!/usr/bin/env bash
1+
#!/usr/bin/env sh
22
set -e;
33

44
name=$1
55
noprompt=$2
66

7-
if [ "$name" == "" ]; then
7+
if [ "$name" = "" ]; then
88
echo "ERROR: Must pass a name of the release as the first argument to this script.";
99
exit 1;
1010
fi
@@ -14,7 +14,7 @@ fullPath="$PWD/releases/$name"
1414
echo "Creating release '$name'"
1515
echo "Full path = '$fullPath'"
1616

17-
if [ "$noprompt" == "--noprompt" ]; then
17+
if [ "$noprompt" = "--noprompt" ]; then
1818
echo "No prompt, will continue"
1919
else
2020
echo "Continue? (y/n)"

0 commit comments

Comments
 (0)