stage0.sh: Update the conditional in make_bin_sh_point_to_bash to place the 'then...
authorJason Self <j@jxself.org>
Mon, 14 Aug 2017 03:33:29 +0000 (20:33 -0700)
committerJason Self <j@jxself.org>
Mon, 14 Aug 2017 03:33:29 +0000 (20:33 -0700)
stage0.sh

index 12476c67ac8e5b2148262281cf313674b0ff9cac..2774dc61623d1dbad4fc978efd0f7fb2e888347b 100644 (file)
--- a/stage0.sh
+++ b/stage0.sh
@@ -27,8 +27,7 @@ check_if_root () {
 make_bin_sh_point_to_bash () {
     # This checks if /bin/sh is a symlink so as to avoid replacing
     # it in cases where it's not a symlink (i.e., an executable.)
-    if [ -h /bin/sh ];
-    then
+    if [ -h /bin/sh ]; then
         ln -sf bash /bin/sh
     else
         echo "/bin/sh is not a symlink"