Drop .install from the Windows install disk image name

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
GuofangandClaude Sonnet 5.5 committed 2026-10-19 09:28:54 +08:00
1 parent 2aae652569
commit dd29fd92a7
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -18,7 +18,7 @@
# Debian wimtools dosfstools gdisk mtools udisks2
#
# Usage: build-windows-install-disk.sh [--force] ISO [OUTPUT.img]
# OUTPUT defaults to the ISO path with ".install.img" in place of ".iso".
# OUTPUT defaults to the ISO path with ".img" in place of ".iso".
set -euo pipefail
usage() {
@@ -39,7 +39,7 @@ if ((${#args[@]} < 1 || ${#args[@]} > 2)); then
exit 2
fi
iso="${args[0]}"
output="${args[1]:-${iso%.*}.install.img}"
output="${args[1]:-${iso%.*}.img}"
die() {
printf 'Error: %s\n' "$1" >&2