X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/17f9e2fd09d973d39885348fee4906da3aa190ac..HEAD:/INSTALL/VentoyWeb.sh diff --git a/INSTALL/VentoyWeb.sh b/INSTALL/VentoyWeb.sh index f06ae06..537348a 100644 --- a/INSTALL/VentoyWeb.sh +++ b/INSTALL/VentoyWeb.sh @@ -23,11 +23,11 @@ fi OLDDIR=$(pwd) -if uname -m | egrep -q 'aarch64|arm64'; then +if uname -m | grep -E -q 'aarch64|arm64'; then TOOLDIR=aarch64 -elif uname -m | egrep -q 'x86_64|amd64'; then +elif uname -m | grep -E -q 'x86_64|amd64'; then TOOLDIR=x86_64 -elif uname -m | egrep -q 'mips64'; then +elif uname -m | grep -E -q 'mips64'; then TOOLDIR=mips64el else TOOLDIR=i386