diff options
author | Ian Lynagh <igloo@earth.li> | 2010-10-15 16:45:49 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2010-10-15 16:45:49 +0000 |
commit | 1be165c939bbfa7bb287eae3ef1a989ef6086355 (patch) | |
tree | e94a18f3947b5943228d11580efd0ac9c95ff2c0 /boot | |
parent | 6bf61003d2843cbe1c187882e19a8a996b437c12 (diff) | |
download | haskell-1be165c939bbfa7bb287eae3ef1a989ef6086355.tar.gz |
Fix boot; it was failing if darcs-all or validate were missing
(which is the case in sdists)
Diffstat (limited to 'boot')
-rw-r--r-- | boot | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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: $!"; + } } |