File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ while test $# -gt 0; do
64
64
done
65
65
66
66
# Check if clouds.yaml file provided
67
- if [[ -n " $1 " ]] && [[ $1 != -* ]] && [[ $1 != --* ]]; then
67
+ if [[ -n " ${1-} " ]] && [[ $1 != -* ]] && [[ $1 != --* ]]; then
68
68
CLOUDS_PATH=" $1 "
69
69
else
70
70
echo " Error: No clouds.yaml provided"
74
74
fi
75
75
76
76
# Check if os cloud is provided
77
- if [[ -n " $2 " ]] && [[ $2 != -* ]] && [[ $2 != --* ]]; then
77
+ if [[ -n " ${2-} " ]] && [[ $2 != -* ]] && [[ $2 != --* ]]; then
78
78
export CLOUD=$2
79
79
else
80
80
echo " Error: No cloud specified"
83
83
exit 1
84
84
fi
85
85
86
- if [[ -n " $3 " ]] && [[ $3 != -* ]] && [[ $3 != --* ]]; then
86
+ if [[ -n " ${3-} " ]] && [[ $3 != -* ]] && [[ $3 != --* ]]; then
87
87
OUTPUT_DIR=$( echo $3 | tr ' [:upper:]' ' [:lower:]' )
88
88
else
89
89
echo " no output folder provided, use name '_out' by default"
You can’t perform that action at this time.
0 commit comments