mirror of
https://github.com/ipxe/ipxe
synced 2026-02-14 02:31:26 +03:00
[build] Fix genfsimg to work with FATDIR with space
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
committed by
Michael Brown
parent
4d180be517
commit
b33cc1efe3
@@ -255,7 +255,7 @@ fi
|
|||||||
# Create FAT filesystem image, if applicable
|
# Create FAT filesystem image, if applicable
|
||||||
#
|
#
|
||||||
if [ -n "${FATIMG}" ] ; then
|
if [ -n "${FATIMG}" ] ; then
|
||||||
FATSIZE=$(du -s -k ${FATDIR} | cut -f1)
|
FATSIZE=$(du -s -k "${FATDIR}" | cut -f1)
|
||||||
FATSIZE=$(( FATSIZE + PAD + 256 ))
|
FATSIZE=$(( FATSIZE + PAD + 256 ))
|
||||||
touch "${FATIMG}"
|
touch "${FATIMG}"
|
||||||
if [ "${FATSIZE}" -le "1440" ] ; then
|
if [ "${FATSIZE}" -le "1440" ] ; then
|
||||||
|
|||||||
Reference in New Issue
Block a user