File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ if [[ "${CODER_LIBSH_NO_CHECK_DEPENDENCIES:-}" != *t* ]]; then
156
156
# we capture the version output first before
157
157
make_version_raw=" $( make --version 2> /dev/null) "
158
158
make_version=" $( echo " $make_version_raw " | head -n1 | grep -oE ' ([[:digit:]]+\.){1,2}[[:digit:]]+' ) "
159
- if [ " ${make_version// .*/ } " -lt 4 ]; then
159
+ if [[ ${make_version// .*/ } -lt 4 ] ]; then
160
160
libsh_bad_dependencies=1
161
161
log " ERROR: You need at least make 4.0 to run the scripts in the Coder repo."
162
162
if isdarwin; then
Original file line number Diff line number Diff line change 48
48
for i in $( seq 1 2) ; do
49
49
gon " $config " && rc=0 && break || rc=$?
50
50
log " gon exit code: $rc "
51
- if [ " $i " -lt 5 ]; then
51
+ if [[ $i -lt 5 ] ]; then
52
52
log
53
53
log " Retrying notarization in 60 seconds"
54
54
log
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ PROJECT_ROOT=$(cd "$SCRIPT_DIR" && git rev-parse --show-toplevel)
23
23
# --check-files
24
24
)
25
25
26
- if [ -n " ${CI:- } " ]; then
26
+ if [[ -n ${CI:- } ] ]; then
27
27
yarn_flags+=(
28
28
# Install dependencies from lockfile, ensuring builds are fully
29
29
# reproducible
You can’t perform that action at this time.
0 commit comments