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
@@ -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
