Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions android-database-sqlcipher/build-openssl-libraries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ OPENSSL=openssl-$3
--install-dir ${TOOLCHAIN_DIR} \
--unified-headers

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

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

make clean
make build_libs

if [ $? -ne 0 ]; then
if [[ $? -ne 0 ]]; then
echo "Error executing make for platform:${SQLCIPHER_TARGET_PLATFORM}"
exit 1
fi
Expand Down