summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsoumenganguly2015-04-23 11:33:30 +0530
committersoumenganguly2015-04-23 11:33:30 +0530
commitdd3461f816b985c5a11caa897604f4acb2539419 (patch)
tree1b4a25ac926b3ae5e35186dc8dace185fec65865
parentfe25fd5676edee05fc9d8b490e79b35e0590dfd7 (diff)
downloadFOSSEE-netbook-tools-dd3461f816b985c5a11caa897604f4acb2539419.tar.gz
FOSSEE-netbook-tools-dd3461f816b985c5a11caa897604f4acb2539419.tar.bz2
FOSSEE-netbook-tools-dd3461f816b985c5a11caa897604f4acb2539419.zip
Added minor changes to recovery.sh
-rw-r--r--reinstall-recovery/recovery.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/reinstall-recovery/recovery.sh b/reinstall-recovery/recovery.sh
index 656b454..3934a42 100644
--- a/reinstall-recovery/recovery.sh
+++ b/reinstall-recovery/recovery.sh
@@ -112,7 +112,7 @@ installation()
part_no_two=$(ls /dev/mmcblk0*)
part_no_two=$(echo $part_no_two | cut -d' ' -f3) #Check for the second partition on the SD card.
- if [ $part_no_two ='' ]; then
+ if [ "$part_no_two" == '' ]; then
sh /mnt/bar /sd_card/fossee-os.tar.gz | tar xzpf - -C /nand_previous
sync
else