mirror of https://github.com/ipxe/ipxe.git
[build] Fix genfsimg to work with FATDIR with space
Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/448/head
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
|
||||||
|
|
Loading…
Reference in New Issue