sdcard_image-rpi : minor bug in use of FATPAYLOAD

Double quotation marks were added around FATPAYLOAD to prevent parsing error when FATPAYLOAD contains list of file names

Signed-off-by: Nataliya Korovkina <malus.brandywine@gmail.com>
This commit is contained in:
malus-brandywine 2019-06-04 18:07:09 -04:00 committed by Andrei Gherzan
parent 920822c0fb
commit 40283f583b

View File

@ -143,7 +143,7 @@ IMAGE_CMD_rpi-sdimg () {
fi
fi
if [ -n ${FATPAYLOAD} ] ; then
if [ -n "${FATPAYLOAD}" ] ; then
echo "Copying payload into VFAT"
for entry in ${FATPAYLOAD} ; do
# add the || true to stop aborting on vfat issues like not supporting .~lock files