Skip to content

Commit 72540f1

Browse files
committed
remove some lint warnings
1 parent 1a8b882 commit 72540f1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

android-database-sqlcipher/build-openssl-libraries.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ OPENSSL=openssl-$3
119119
--install-dir ${TOOLCHAIN_DIR} \
120120
--unified-headers
121121

122-
if [ $? -ne 0 ]; then
122+
if [[ $? -ne 0 ]]; then
123123
echo "Error executing make_standalone_toolchain.py for ${TOOLCHAIN_ARCH}"
124124
exit 1
125125
fi
@@ -134,15 +134,15 @@ OPENSSL=openssl-$3
134134
${OPENSSL_CONFIGURE_OPTIONS} \
135135
--sysroot=${TOOLCHAIN_DIR}/sysroot
136136

137-
if [ $? -ne 0 ]; then
137+
if [[ $? -ne 0 ]]; then
138138
echo "Error executing:./Configure ${CONFIGURE_ARCH} ${OPENSSL_CONFIGURE_OPTIONS}"
139139
exit 1
140140
fi
141141

142142
make clean
143143
make build_libs
144144

145-
if [ $? -ne 0 ]; then
145+
if [[ $? -ne 0 ]]; then
146146
echo "Error executing make for platform:${SQLCIPHER_TARGET_PLATFORM}"
147147
exit 1
148148
fi

0 commit comments

Comments
 (0)