This change fixes the inconsistent indents in the bash script files.
Details are described below.
* Use 4 spaces instead of tabs. Currently tabs are used partially.
* Ensures the corresponding items(like if/else/fi) are placed at
the same indent level.
Change-Id: Iccf01cd325e171fba8e399d22ee9e0a00f3e781b