summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorsven.panne@aedion.de <unknown>2007-08-25 19:32:16 +0000
committersven.panne@aedion.de <unknown>2007-08-25 19:32:16 +0000
commite97891e69706e84761c6bcac783526f9dafe7f2e (patch)
treec25ab78fed85992886a3b1bb37f278143fe33cff /boot
parent269ade3ebc4b3a7245825281e50e76e0020c2ce6 (diff)
downloadhaskell-e97891e69706e84761c6bcac783526f9dafe7f2e.tar.gz
Be more flexible when trying to make scripts executable
Diffstat (limited to 'boot')
-rw-r--r--boot4
1 files changed, 3 insertions, 1 deletions
diff --git a/boot b/boot
index be9291d979..1889e8cac8 100644
--- a/boot
+++ b/boot
@@ -25,4 +25,6 @@ for dir in . libraries/*; do
done
# Alas, darcs doesn't handle file permissions, so fix a few of them.
-chmod +x boot darcs-all push-all
+for f in boot darcs-all push-all validate; do
+ test -f $f && chmod +x $f
+done