File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 91
91
92
92
# Install openssl
93
93
if [ -n " $OPENSSL_VERSION " ]; then
94
- if [ " $CIBUILDWHEEL " != " 1" || " $KERNEL " != " Darwin" ]; then
94
+ if [ " $CIBUILDWHEEL " != " 1" ] || [ " $KERNEL " != " Darwin" ]; then
95
95
echo " OPENSSL_VERSION should only be set when building"
96
96
echo " macOS universal2 wheels on GitHub!"
97
97
echo " Please unset and try again"
@@ -133,7 +133,7 @@ if [ -n "$LIBSSH2_VERSION" ]; then
133
133
wget https://www.libssh2.org/download/$FILENAME .tar.gz -N --no-check-certificate
134
134
tar xf $FILENAME .tar.gz
135
135
cd $FILENAME
136
- if [ " $KERNEL " = " Darwin" && " $CIBUILDWHEEL " = " 1" ]; then
136
+ if [ " $KERNEL " = " Darwin" ] && [ " $CIBUILDWHEEL " = " 1" ]; then
137
137
cmake . \
138
138
-DCMAKE_INSTALL_PREFIX=$PREFIX \
139
139
-DBUILD_SHARED_LIBS=ON \
@@ -161,7 +161,7 @@ if [ -n "$LIBGIT2_VERSION" ]; then
161
161
wget https://github.com/libgit2/libgit2/archive/refs/tags/v$LIBGIT2_VERSION .tar.gz -N -O $FILENAME .tar.gz
162
162
tar xf $FILENAME .tar.gz
163
163
cd $FILENAME
164
- if [ " $KERNEL " = " Darwin" && " $CIBUILDWHEEL " = " 1" ]; then
164
+ if [ " $KERNEL " = " Darwin" ] && [ " $CIBUILDWHEEL " = " 1" ]; then
165
165
CMAKE_PREFIX_PATH=$OPENSSL_PREFIX :$LIBSSH2_PREFIX cmake . \
166
166
-DBUILD_SHARED_LIBS=ON \
167
167
-DBUILD_CLAR=OFF \
You can’t perform that action at this time.
0 commit comments