"nand_args=run bootargs_defaults;" \
"mtdparts default;" \
"setenv ${partitionset_active} true;" \
- "if test -n ${A}; then " \
+ "if test -n \"${A}\"; then " \
"setenv nand_active_ubi_vol ${rootfs_name}_a;" \
"fi;" \
- "if test -n ${B}; then " \
+ "if test -n \"${B}\"; then " \
"setenv nand_active_ubi_vol ${rootfs_name}_b;" \
"fi;" \
"setenv nand_root ubi0:${nand_active_ubi_vol} rw " \
"then " \
"setenv upgrade_available 0;" \
"setenv ${partitionset_active} true;" \
- "if test -n ${A}; then " \
+ "if test -n \"${A}\"; then " \
"setenv partitionset_active B; " \
"env delete A; " \
"fi;" \
- "if test -n ${B}; then " \
+ "if test -n \"${B}\"; then " \
"setenv partitionset_active A; " \
"env delete B; " \
"fi;" \
"nand_args=run bootargs_defaults;" \
"mtdparts default;" \
"setenv ${partitionset_active} true;" \
- "if test -n ${A}; then " \
+ "if test -n \"${A}\"; then " \
"setenv nand_active_ubi_vol ${nand_active_ubi_vol_A};" \
"setenv nand_src_addr ${nand_src_addr_A};" \
"fi;" \
- "if test -n ${B}; then " \
+ "if test -n \"${B}\"; then " \
"setenv nand_active_ubi_vol ${nand_active_ubi_vol_B};" \
"setenv nand_src_addr ${nand_src_addr_B};" \
"fi;" \
"nand_args=run bootargs_defaults;" \
"mtdparts default;" \
"setenv ${partitionset_active} true;" \
- "if test -n ${A}; then " \
+ "if test -n \"${A}\"; then " \
"setenv nand_active_ubi_vol ${rootfs_name}_a;" \
"fi;" \
- "if test -n ${B}; then " \
+ "if test -n \"${B}\"; then " \
"setenv nand_active_ubi_vol ${rootfs_name}_b;" \
"fi;" \
"setenv nand_root ubi0:${nand_active_ubi_vol} rw " \
*/
#define ENV_FCT_TOGGLE_PARTITION "toggle_partition="\
"setenv ${partitionset_active} true;" \
- "if test -n ${A}; " \
+ "if test -n \"${A}\"; " \
"then " \
"setenv partitionset_active B; " \
"env delete A; " \
"fi;" \
- "if test -n ${B}; "\
+ "if test -n \"${B}\"; "\
"then " \
"setenv partitionset_active A; " \
"env delete B; " \
*/
#define ENV_EMMC_FCT_SET_ACTIVE_PARTITION "set_partition=" \
"setenv ${partitionset_active} true;" \
- "if test -n ${A}; " \
+ "if test -n \"${A}\"; " \
"then " \
"setenv mmc_part_nr 1;" \
"fi;" \
- "if test -n ${B}; " \
+ "if test -n \"${B}\"; " \
"then " \
"setenv mmc_part_nr 2;" \
"fi;" \