]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - INSTALL/Ventoy2Disk.sh
Add escaping for path in VentoyPlugson.sh (#2585)
[Ventoy.git] / INSTALL / Ventoy2Disk.sh
index dac5c2f5a58a42da25b5d0516d878fa5038f335c..f08ab1090a26d040af9a09db88b283e00eb09c62 100644 (file)
@@ -12,11 +12,11 @@ if [ -f ./ventoy/version ]; then
     curver=$(cat ./ventoy/version) 
 fi
 
-if uname -m | egrep -q 'aarch64|arm64'; then
+if uname -m | grep -E -q 'aarch64|arm64'; then
     export TOOLDIR=aarch64
-elif uname -m | egrep -q 'x86_64|amd64'; then
+elif uname -m | grep -E -q 'x86_64|amd64'; then
     export TOOLDIR=x86_64
-elif uname -m | egrep -q 'mips64'; then
+elif uname -m | grep -E -q 'mips64'; then
     export TOOLDIR=mips64el
 else
     export TOOLDIR=i386