Skip to content

Commit a4de9db

Browse files
committed
Use [[ ]]
1 parent 8d8a2c0 commit a4de9db

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/wheels-dependencies.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ fi
8484
# Define custom utilities
8585
source wheels/multibuild/common_utils.sh
8686
source wheels/multibuild/library_builders.sh
87-
if [ -z "$IS_MACOS" ]; then
87+
if [[ -z "$IS_MACOS" ]]; then
8888
source wheels/multibuild/manylinux_utils.sh
8989
fi
9090

@@ -149,7 +149,7 @@ function build_zlib_ng {
149149

150150
HOST_CONFIGURE_FLAGS=$ORIGINAL_HOST_CONFIGURE_FLAGS
151151

152-
if [ -n "$IS_MACOS" ] && [ -z "$IOS_SDK" ]; then
152+
if [[ -n "$IS_MACOS" ]] && [[ -z "$IOS_SDK" ]]; then
153153
# Ensure that on macOS, the library name is an absolute path, not an
154154
# @rpath, so that delocate picks up the right library (and doesn't need
155155
# DYLD_LIBRARY_PATH to be set). The default Makefile doesn't have an

0 commit comments

Comments
 (0)