diff options
author | JuniorJPDJ <git@juniorjpdj.pl> | 2021-07-08 10:47:29 +0200 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2021-07-26 15:34:33 +0100 |
commit | b33cc1efe33ecf55017bb4ca7e8355e7b9c6e50c (patch) | |
tree | 13545501a3b1c1ea1eb7784da58be3a312b6b61b | |
parent | 4d180be5175e176ec27680557c1d67536a847610 (diff) | |
download | ipxe-b33cc1efe33ecf55017bb4ca7e8355e7b9c6e50c.tar.gz |
[build] Fix genfsimg to work with FATDIR with space
Signed-off-by: Michael Brown <mcb30@ipxe.org>
-rwxr-xr-x | src/util/genfsimg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/genfsimg b/src/util/genfsimg index 1635a11ac..c13158203 100755 --- a/src/util/genfsimg +++ b/src/util/genfsimg @@ -255,7 +255,7 @@ fi # Create FAT filesystem image, if applicable # if [ -n "${FATIMG}" ] ; then - FATSIZE=$(du -s -k ${FATDIR} | cut -f1) + FATSIZE=$(du -s -k "${FATDIR}" | cut -f1) FATSIZE=$(( FATSIZE + PAD + 256 )) touch "${FATIMG}" if [ "${FATSIZE}" -le "1440" ] ; then |