From 3405dcee96da59f389657b33de58eb0b122b72bd Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Mon, 2 Oct 2023 11:58:23 -0400 Subject: [PATCH] Guard use of zip and unzip Uncovered on the newly minted GCC119, which is an AIX box. --- TestScripts/cryptest.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TestScripts/cryptest.sh b/TestScripts/cryptest.sh index 8e364afa5..a842dc522 100755 --- a/TestScripts/cryptest.sh +++ b/TestScripts/cryptest.sh @@ -7944,7 +7944,7 @@ fi ############################################ # Test latest zip with unzip -a -if true; then +if command -v zip &>/dev/null && command -v unzip &>/dev/null; then if command -v wget &>/dev/null; then FETCH_CMD="wget -q -O" @@ -7954,7 +7954,7 @@ if true; then FETCH_CMD="wget-and-curl-not-found" fi - major=8; minor=6; rev=0 + major=8; minor=9; rev=0 filebase="cryptopp${major}${minor}${rev}" filename="${filebase}.zip" url="https://cryptopp.com/${filename}"