X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=boot;h=f47bdf649134f1c2fea3e73f77f72c0c42618872;hp=aa3b82d04a914b1b985022d64d0dbe8c2fa046f1;hb=05fd4e9ddd2fb1d76dc9b8733353105eeea3a3d4;hpb=26b6eac2c4d9409e625c1c4fd325a76076d5cd26 diff --git a/boot b/boot index aa3b82d..f47bdf6 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: $!"; + } }