From 4952dead7637ab445ac4c18d069568e8d28a3c69 Mon Sep 17 00:00:00 2001 From: bin456789 Date: Fri, 3 Nov 2023 23:50:02 +0800 Subject: [PATCH] =?UTF-8?q?core:=20=E4=BF=AE=E5=A4=8D=E7=94=A8=20busybox?= =?UTF-8?q?=20bash=20=E8=BF=90=E8=A1=8C=E6=97=B6=E9=80=BB=E8=BE=91?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- trans.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trans.sh b/trans.sh index 65522e1..9ef117a 100644 --- a/trans.sh +++ b/trans.sh @@ -82,7 +82,7 @@ download() { save="" else # 文件名是绝对路径 - if [[ "$path" = "/*" ]]; then + if [[ "$path" = '/*' ]]; then save="-d / -o $path" else # 文件名是相对路径 @@ -1843,7 +1843,7 @@ EOF # installer分区盘符不一定是D盘 # 所以复制 resize.bat 到 install.wim # TODO: 由于esd文件无法修改,要将resize.bat放到boot.wim - if [[ "$install_wim" = "*.wim" ]]; then + if [[ "$install_wim" = '*.wim' ]]; then wimmountrw $install_wim "$image_name" /wim/ if false; then # 使用 Autounattend.xml