summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Lindholm <leif.lindholm@linaro.org>2016-09-05 15:30:45 +0100
committerLeif Lindholm <leif.lindholm@linaro.org>2016-09-05 15:30:45 +0100
commit8c9b314ed385161fe9b6197a2e2780f0a0c63472 (patch)
tree92414d000abda6862aad7f3b1774e0bbf79765ef
parent4ad46ab76ee2d593c665c1f6ae16162bdf5a36ac (diff)
Between EDK2 support for openssl-1.0.2f and openssl-1.0.2g, the format of the patch changed from needing a -p0 to a -p1. Adjust the import function accordingly. Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
-rw-r--r--common-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/common-functions b/common-functions
index ea5a24f..671be5a 100644
--- a/common-functions
+++ b/common-functions
@@ -126,7 +126,7 @@ function import_openssl
fi
echo "Importing OpenSSL $OPENSSL_VER"
- ( cd ${OPENSSL_DIR}; patch -p0 -i ../${OPENSSL_PATCH} )
+ ( cd ${OPENSSL_DIR}; patch -p1 -i ../${OPENSSL_PATCH} )
./Install.sh
if [ $? -eq 0 ]; then