system/john: Change i486 to i586

This commit is contained in:
fourtysixandtwo 2022-03-18 21:02:24 -06:00 committed by B. Watson
parent 6c4da4f882
commit a0229ad77b
1 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@ -41,7 +41,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
if [ "$ARCH" = "i586" ]; then
if grep -q ^flags.*avx /proc/cpuinfo; then
TARGET=linux-x86-avx
elif grep -q ^flags.*sse2 /proc/cpuinfo; then