From 3ea7caf0c2074b11a00259f29aa19edea5586f41 Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Wed, 26 Jun 2013 12:01:09 -0500 Subject: [PATCH] bug: unbreak dual mmc fix Signed-off-by: Robert Nelson --- mk_mmc.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mk_mmc.sh b/mk_mmc.sh index 9b7e406..b9f182f 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -806,7 +806,7 @@ flash_kernel_base_installer () { #Some devices may have mmc cards in both slots... unset got_boot_drive - if [ ! ${got_boot_drive} ] ; then + if [ ! \${got_boot_drive} ] ; then if [ -b /dev/mmcblk0p1 ] ; then mount /dev/mmcblk0p1 /target/boot/uboot if [ -f /target/boot/uboot/SOC.sh ] ; then @@ -817,7 +817,7 @@ flash_kernel_base_installer () { fi fi - if [ ! ${got_boot_drive} ] ; then + if [ ! \${got_boot_drive} ] ; then if [ -b /dev/mmcblk1p1 ] ; then mount /dev/mmcblk1p1 /target/boot/uboot if [ -f /target/boot/uboot/SOC.sh ] ; then @@ -828,7 +828,7 @@ flash_kernel_base_installer () { fi fi - if [ ${got_boot_drive} ] ; then + if [ \${got_boot_drive} ] ; then #z = gzip (busybox tar) tar -xzv -f /target/boot/uboot/\$(uname -r)-modules.tar.gz -C /target/lib/modules/\$(uname -r) @@ -879,7 +879,7 @@ finish_installing_device () { #Some devices may have mmc cards in both slots... unset got_boot_drive - if [ ! ${got_boot_drive} ] ; then + if [ ! \${got_boot_drive} ] ; then if [ -b /dev/mmcblk0p1 ] ; then mount /dev/mmcblk0p1 /target/boot/uboot if [ -f /target/boot/uboot/SOC.sh ] ; then @@ -891,7 +891,7 @@ finish_installing_device () { fi fi - if [ ! ${got_boot_drive} ] ; then + if [ ! \${got_boot_drive} ] ; then if [ -b /dev/mmcblk1p1 ] ; then mount /dev/mmcblk1p1 /target/boot/uboot if [ -f /target/boot/uboot/SOC.sh ] ; then