Be more flexible when trying to make scripts executable
authorsven.panne@aedion.de <unknown>
Sat, 25 Aug 2007 19:32:16 +0000 (19:32 +0000)
committersven.panne@aedion.de <unknown>
Sat, 25 Aug 2007 19:32:16 +0000 (19:32 +0000)
boot

diff --git a/boot b/boot
index be9291d..1889e8c 100644 (file)
--- 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