aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-04-02 10:42:07 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2021-04-02 10:42:07 -0500
commit6a4f0a701b1f4d72cdd46bfe506a2dd517bd4932 (patch)
tree1a02caa44dfa47d35d13d9a5a6a0e26e3db52f8c
parent8999cb53387e2007d755d345e452dd9bd65c267f (diff)
Format LFS_FS text string to lowercse with ,, operator.
-rw-r--r--setupdisk.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/setupdisk.sh b/setupdisk.sh
index d9bd8d7..6d13436 100644
--- a/setupdisk.sh
+++ b/setupdisk.sh
@@ -27,7 +27,7 @@ ${IRED}FAILED!${RST}\n"
fi
printf "%b" " ${IGRN}Formatting ${IWHT}${LFS_DISK}${LFS_PART} with \
${IWHT}${LFS_FS}${IGRN} filesystem and label ${IWHT}${LFS_VER}${RST}\n"
-if ! sudo /sbin/mkfs -t ${LFS_FS} -L "${LFS_VER}" -F "${LFS_DISK}${LFS_PART}" >/dev/null 2>&1; then
+if ! sudo /sbin/mkfs -t ${LFS_FS,,} -L "${LFS_VER}" -F "${LFS_DISK}${LFS_PART}" >/dev/null 2>&1; then
printf "%b" " ${IGRN}Creating ${IWHT}${LFS_FS}${IGRN} filesystem at \
${IWHT}${LFS_DISK}${LFS_PART} ${IRED}FAILED!${RST}\n"
exit 1