summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-09-21 11:15:08 +0000
committerIan Lynagh <igloo@earth.li>2008-09-21 11:15:08 +0000
commitca3d9a7b9372ffe844c267c6e5034ee0313c281c (patch)
tree5b44e42fd4a7ee9676f1306cf59aaee3acc49d37 /boot
parent69c3d6ccf567c2862bcb59bd14c764fe29b37fca (diff)
downloadhaskell-ca3d9a7b9372ffe844c267c6e5034ee0313c281c.tar.gz
Make "sh -e boot" work
Diffstat (limited to 'boot')
-rw-r--r--boot5
1 files changed, 4 insertions, 1 deletions
diff --git a/boot b/boot
index 38d2cb5680..18a083e02e 100644
--- 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
- test -f $f && chmod +x $f
+ if test -f $f
+ then
+ chmod +x $f
+ fi
done