diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2015-12-04 22:09:15 +0100 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2015-12-04 22:09:15 +0100 |
commit | a836d78faec94b6746275f18889ab1e8cc69d02d (patch) | |
tree | 2667c4a80452281be38499c8c647308bde4c0359 /leg-virt-tiancore-edk2-upstream.yaml | |
parent | 10c0e91534a1de99f459ec8d5fb9771a9d024864 (diff) |
leg-virt-tianocore: correct fallback for outdated openssl tarball
Change-Id: I87fd27e0d780f409d80647e88a0fb750e20e7c8b
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.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/leg-virt-tiancore-edk2-upstream.yaml b/leg-virt-tiancore-edk2-upstream.yaml index 1ee512859d..99cc0247d6 100644 --- a/leg-virt-tiancore-edk2-upstream.yaml +++ b/leg-virt-tiancore-edk2-upstream.yaml @@ -97,8 +97,8 @@ # 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 - - [ $? -eq 0 ] || 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" | tar xzf - || \ + 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 |