install_linux_fw_sd: fix semi-colons in script

- Add semi-colons to instructions inside 'setenv' commands
- Remove semi-colons in instructions where they are not needed (for
  consistency with the rest of instructions)

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
This commit is contained in:
Hector Palacios 2016-07-06 13:23:54 +02:00
parent cf7c6b0af8
commit 052775a34c
1 changed files with 4 additions and 4 deletions

View File

@ -67,7 +67,7 @@ setenv INSTALL_ROOTFS_FILENAME dey-image-qt-##GRAPHICAL_BACKEND##-ccimx6sbc.ext4
for install_f in ${INSTALL_UBOOT_FILENAME} ${INSTALL_LINUX_FILENAME} ${INSTALL_ROOTFS_FILENAME}; do for install_f in ${INSTALL_UBOOT_FILENAME} ${INSTALL_LINUX_FILENAME} ${INSTALL_ROOTFS_FILENAME}; do
if test ! -e mmc 1:1 ${install_f}; then if test ! -e mmc 1:1 ${install_f}; then
echo "ERROR: Could not find file ${install_f}"; echo "ERROR: Could not find file ${install_f}";
install_abort=1 install_abort=1;
fi; fi;
done done
if test -n "${install_abort}"; then if test -n "${install_abort}"; then
@ -88,7 +88,7 @@ setenv mmcdev 0
# Update U-Boot # Update U-Boot
echo "" echo ""
echo "" echo ""
echo ">> Installing U-Boot boot loader (target will reset)"; echo ">> Installing U-Boot boot loader (target will reset)"
echo "" echo ""
echo "" echo ""
update uboot mmc 1 fat ${INSTALL_UBOOT_FILENAME} update uboot mmc 1 fat ${INSTALL_UBOOT_FILENAME}
@ -110,8 +110,8 @@ setenv bootcmd '
env default -a; env default -a;
saveenv; saveenv;
setenv mmcdev 0; setenv mmcdev 0;
setenv INSTALL_LINUX_FILENAME dey-image-qt-##GRAPHICAL_BACKEND##-ccimx6sbc.boot.vfat setenv INSTALL_LINUX_FILENAME dey-image-qt-##GRAPHICAL_BACKEND##-ccimx6sbc.boot.vfat;
setenv INSTALL_ROOTFS_FILENAME dey-image-qt-##GRAPHICAL_BACKEND##-ccimx6sbc.ext4 setenv INSTALL_ROOTFS_FILENAME dey-image-qt-##GRAPHICAL_BACKEND##-ccimx6sbc.ext4;
echo ""; echo "";
echo ""; echo "";
echo ">> Creating Linux partition table on the eMMC"; echo ">> Creating Linux partition table on the eMMC";