ソースを参照

Update netboot.sh

Brent, Yang Bohan 7 年 前
コミット
76dabcb45d
1 ファイル変更2 行追加2 行削除
  1. 2 2
      netboot.sh

+ 2 - 2
netboot.sh

@@ -106,7 +106,7 @@ while [ $# -gt 0 ]; do
       MANUALLY=true
     ;;
     -arch)
-      MACHARCH=$2
+      ARCH=$2
       shift
     ;;
     *)
@@ -130,7 +130,7 @@ COUNTRY=${COUNTRY:-US}
 PROTO=${PROTO:-http}
 HOST=${HOST:-deb.debian.org}
 DIR=${DIR:-/debian}
-if [ -z "$SECURITY" ]; then
+if [ -z "$ARCH" ]; then
 ARCH=$(dpkg --print-architecture)
 fi
 SUITE=${SUITE:-stretch}