From 325bf673a2d88fd07ff7dffd6e1e2adfdb3ea37b Mon Sep 17 00:00:00 2001
From: Robert Nelson <robertcnelson@gmail.com>
Date: Mon, 29 Apr 2013 14:38:14 -0500
Subject: [PATCH] scripts: fix

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
---
 tools/install_kernel.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/install_kernel.sh b/tools/install_kernel.sh
index de24e569a..c13c35329 100755
--- a/tools/install_kernel.sh
+++ b/tools/install_kernel.sh
@@ -165,7 +165,7 @@ mmc_detect_n_mount () {
 			mmc_partition_discover
 			mmc_unmount
 		fi
-		i=$(($i+1))
+	i=$(($i+1))
 	done
 
 	echo "-----------------------------"
@@ -188,7 +188,7 @@ unmount_partitions () {
 	i=0 ; while test $i -le ${NUM_MOUNTS} ; do
 		DRIVE=$(mount | grep -v none | grep "${MMC}" | tail -1 | awk '{print $1}')
 		sudo umount ${DRIVE} >/dev/null 2>&1 || true
-		i=$(($i+1)
+	i=$(($i+1))
 	done
 
 	mkdir -p "${DIR}/deploy/disk/"
-- 
GitLab