mirror of
https://github.com/carp-lang/Carp.git
synced 2024-11-04 01:25:04 +03:00
Try single '='
This commit is contained in:
parent
3d8e173f09
commit
d86a0d4b0d
@ -1,10 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
#!/usr/bin/env sh
|
||||
set -e;
|
||||
|
||||
name=$1
|
||||
noprompt=$2
|
||||
|
||||
if [ "$name" == "" ]; then
|
||||
if [ "$name" = "" ]; then
|
||||
echo "ERROR: Must pass a name of the release as the first argument to this script.";
|
||||
exit 1;
|
||||
fi
|
||||
@ -14,7 +14,7 @@ fullPath="$PWD/releases/$name"
|
||||
echo "Creating release '$name'"
|
||||
echo "Full path = '$fullPath'"
|
||||
|
||||
if [ "$noprompt" == "--noprompt" ]; then
|
||||
if [ "$noprompt" = "--noprompt" ]; then
|
||||
echo "No prompt, will continue"
|
||||
else
|
||||
echo "Continue? (y/n)"
|
||||
|
Loading…
Reference in New Issue
Block a user