aboutsummaryrefslogtreecommitdiff
path: root/leg-virt-tiancore-edk2-upstream.yaml
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2015-12-05 07:26:24 +0100
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2015-12-05 07:26:24 +0100
commit227fac4d5a4efe446e609fcb364f36286328a633 (patch)
tree9b4844603db00faf50a40ba28307a9e383134ceb /leg-virt-tiancore-edk2-upstream.yaml
parenta836d78faec94b6746275f18889ab1e8cc69d02d (diff)
leg-virt-tianocore: third attempt at fallback to old openssl repo
Change-Id: Ic9e0fc97e75921205a5bc15d7a5cec9cfaceea10 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@gmail.com>
Diffstat (limited to 'leg-virt-tiancore-edk2-upstream.yaml')
-rw-r--r--leg-virt-tiancore-edk2-upstream.yaml5
1 files changed, 3 insertions, 2 deletions
diff --git a/leg-virt-tiancore-edk2-upstream.yaml b/leg-virt-tiancore-edk2-upstream.yaml
index 99cc0247d6..ba46397271 100644
--- a/leg-virt-tiancore-edk2-upstream.yaml
+++ b/leg-virt-tiancore-edk2-upstream.yaml
@@ -97,8 +97,9 @@
# capture OpenSSL version number from the patch file against the most recent version
VERSION=$(ls -rv EDKII_openssl-*.patch|head -1|sed 's/^.*-\([0-9.a-z]*\).patch/\1/')
- wget -O - -q "http://www.openssl.org/source/openssl-${VERSION}.tar.gz" | tar xzf - || \
- wget -O - -q "http://www.openssl.org/source/old/${VERSION%[a-z]*}/openssl-${VERSION}.tar.gz" | tar xzf -
+ ( wget -O - -q "http://www.openssl.org/source/openssl-${VERSION}.tar.gz" || \
+ wget -O - -q "http://www.openssl.org/source/old/${VERSION%[a-z]*}/openssl-${VERSION}.tar.gz" ) \
+ | tar xzf -
( cd openssl-${VERSION}; patch -p0 -i ../EDKII_openssl-${VERSION}.patch )
./Install.sh