diff options
author | Jeffrey Walton <noloader@gmail.com> | 2022-02-15 08:23:42 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2022-02-15 08:23:42 -0500 |
commit | 15677c7c05a43b769f6a2b8c504d641861222ec8 (patch) | |
tree | 41f3132a3663f5f5d87de32e989a3ddb88841572 /TestScripts | |
parent | 0d869878bcfc25101dd5dc7bd21b045e7fb38f0a (diff) | |
download | cryptopp-git-15677c7c05a43b769f6a2b8c504d641861222ec8.tar.gz |
Update cryptest.sh script
Diffstat (limited to 'TestScripts')
-rwxr-xr-x | TestScripts/cryptest.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/TestScripts/cryptest.sh b/TestScripts/cryptest.sh index 5e25c3b3..e04697e2 100755 --- a/TestScripts/cryptest.sh +++ b/TestScripts/cryptest.sh @@ -224,7 +224,7 @@ elif [[ ("$IS_PPC32" -ne 0 || "$IS_PPC64" -ne 0) ]]; then PPC_CPU_FLAGS="altivec" fi else - CPUINFO="$(cat /proc/cpuinfo | grep "cpu" | head -n 1 | cut -f 2 -d ':')" + CPUINFO="$("$GREP" "cpu" /proc/cpuinfo | head -n 1 | cut -f 2 -d ':')" if echo -n "$CPUINFO" | "$GREP" -q -i -c "power9"; then PPC_CPU_FLAGS="power9 power8 power7 altivec" elif echo -n "$CPUINFO" | "$GREP" -q -i -c "power8"; then |