mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 11:25:49 +00:00
fix: Clamp label to 32 bytes
This commit is contained in:
parent
778ced40e6
commit
24f9f3dc6c
1 changed files with 2 additions and 12 deletions
|
|
@ -62,18 +62,6 @@ fi
|
|||
BASE="custom.iso"
|
||||
[ -f "$STORAGE/$BASE" ] && return 0
|
||||
|
||||
BASE="Custom.iso"
|
||||
[ -f "$STORAGE/$BASE" ] && return 0
|
||||
|
||||
BASE="custom.ISO"
|
||||
[ -f "$STORAGE/$BASE" ] && return 0
|
||||
|
||||
BASE="CUSTOM.iso"
|
||||
[ -f "$STORAGE/$BASE" ] && return 0
|
||||
|
||||
BASE="CUSTOM.ISO"
|
||||
[ -f "$STORAGE/$BASE" ] && return 0
|
||||
|
||||
if [[ "$EXTERNAL" != [Yy1]* ]]; then
|
||||
|
||||
BASE="$VERSION.iso"
|
||||
|
|
@ -148,6 +136,8 @@ if [[ "$MANUAL" != [Yy1]* ]]; then
|
|||
fi
|
||||
|
||||
LABEL="${BASE%.*}"
|
||||
LABEL="${LABEL::32}"
|
||||
|
||||
ISO="$TMP/$LABEL.tmp"
|
||||
rm -f "$ISO"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue