Skip to content

Commit b4350da

Browse files
committed
only call makeclean if there's something to clean
1 parent ac0ce85 commit b4350da

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Build/libHttpClient.Linux/openssl_Linux.bash

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,10 @@ if [ ! -d "$OPENSSL_INSTALL_DIR/include/openssl" ] ; then
5353
fi
5454

5555
pushd $OPENSSL_SRC
56-
make clean
56+
if [-f Makefile ]; then
57+
echo "Cleaning previous OpenSSL build"
58+
make clean
59+
fi
5760
sed -i -e 's/\r$//' Configure
5861

5962
CONFIGURE_ARGS=(

0 commit comments

Comments
 (0)