mirror of
https://github.com/bin456789/reinstall.git
synced 2025-01-18 20:39:14 +08:00
core: 修复用 busybox bash 运行时逻辑错误
This commit is contained in:
parent
bcbea39fa8
commit
4952dead76
4
trans.sh
4
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user