summaryrefslogtreecommitdiff
path: root/TestScripts
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2022-02-15 08:23:42 -0500
committerJeffrey Walton <noloader@gmail.com>2022-02-15 08:23:42 -0500
commit15677c7c05a43b769f6a2b8c504d641861222ec8 (patch)
tree41f3132a3663f5f5d87de32e989a3ddb88841572 /TestScripts
parent0d869878bcfc25101dd5dc7bd21b045e7fb38f0a (diff)
downloadcryptopp-git-15677c7c05a43b769f6a2b8c504d641861222ec8.tar.gz
Update cryptest.sh script
Diffstat (limited to 'TestScripts')
-rwxr-xr-xTestScripts/cryptest.sh2
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