summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--boot6
1 files changed, 4 insertions, 2 deletions
diff --git a/boot b/boot
index aa3b82d04a..f47bdf6491 100644
--- a/boot
+++ b/boot
@@ -72,6 +72,8 @@ foreach $dir (".", glob("libraries/*/")) {
# Alas, darcs doesn't handle file permissions, so fix a few of them.
for my $file ("boot", "darcs-all", "validate") {
- chmod 0755, $file if -f $file
- or die "Can't chmod 0755 $file: $!";
+ if (-f $file) {
+ chmod 0755, $file
+ or die "Can't chmod 0755 $file: $!";
+ }
}