aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--OpenSSL.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSSL.sh b/OpenSSL.sh
index d999d79..d5d1a97 100644
--- a/OpenSSL.sh
+++ b/OpenSSL.sh
@@ -30,7 +30,9 @@ unset MAKEFLAGS
set -x # Output commands
set -e # Abort on errors
cd ${INSTALL_DIR}
- if [ -e done-${NAME} -a done-${NAME} -nt ${SRCDIR}/dist/${NAME}.tar.gz ]; then
+ if [ -e done-${NAME} -a done-${NAME} -nt ${SRCDIR}/dist/${NAME}.tar.gz \
+ -a done-${NAME} -nt ${SRCDIR}/OpenSSL.sh ]
+ then
echo "OpenSSL: The enclosed OpenSSL library has already been built; doing nothing"
else
echo "OpenSSL: Building enclosed OpenSSL library"