Make "sh -e boot" work
authorIan Lynagh <igloo@earth.li>
Sun, 21 Sep 2008 11:15:08 +0000 (11:15 +0000)
committerIan Lynagh <igloo@earth.li>
Sun, 21 Sep 2008 11:15:08 +0000 (11:15 +0000)
boot

diff --git a/boot b/boot
index 38d2cb5..18a083e 100644 (file)
--- a/boot
+++ b/boot
@@ -25,6 +25,9 @@ done
 # Alas, darcs doesn't handle file permissions, so fix a few of them.
 for f in boot darcs-all push-all validate
 do
 # Alas, darcs doesn't handle file permissions, so fix a few of them.
 for f in boot darcs-all push-all validate
 do
-    test -f $f && chmod +x $f
+    if test -f $f
+    then
+        chmod +x $f
+    fi
 done
 
 done