File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ origVersion=$VERSION
7
7
[[ $# < 2 ]] && echo ' not enough args' && exit 1
8
8
9
9
DATE_COMMAND=" date"
10
- if [[ $( uname) -eq " Darwin" ]]; then
10
+ if [[ $( uname) == " Darwin" ]]; then
11
11
DATE_COMMAND=" docker run --rm alpine date"
12
12
fi
13
13
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ VERSION=$2
6
6
[[ $# < 2 ]] && echo ' not enough args' && exit 1
7
7
8
8
DATE_COMMAND=" date"
9
- if [[ $( uname) -eq " Darwin" ]]; then
9
+ if [[ $( uname) == " Darwin" ]]; then
10
10
DATE_COMMAND=" docker run --rm alpine date"
11
11
fi
12
12
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ if [ -z "$ENGINE_DIR" ] || [ -z "$VERSION" ]; then
9
9
fi
10
10
11
11
DATE_COMMAND=" date"
12
- if [[ $( uname) -eq " Darwin" ]]; then
12
+ if [[ $( uname) == " Darwin" ]]; then
13
13
DATE_COMMAND=" docker run --rm alpine date"
14
14
fi
15
15
GIT_COMMAND=" git -C $ENGINE_DIR "
You can’t perform that action at this time.
0 commit comments