Make DISC_NAME compliant with ECMA-119
This commit is contained in:
parent
5962d2f882
commit
92af23a180
@ -2,6 +2,9 @@
|
||||
set -e
|
||||
DISC_NAME="${WDVN_VER:0:3} $WDVN_ARCH $WDVN_DATE"
|
||||
DISC_NAME="${DISC_NAME:0:32}"
|
||||
DISC_NAME="$(echo "$DISC_NAME" | tr "[:lower:]" "[:upper:]")"
|
||||
DISC_NAME="$(echo "$DISC_NAME" | tr "-" "_")"
|
||||
DISC_NAME="$(echo "$DISC_NAME" | tr "." "_")"
|
||||
CHROOT="$1"
|
||||
IMAGE="$2.tmp"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user