projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bf6100
)
Fix boot; it was failing if darcs-all or validate were missing
author
Ian Lynagh
<igloo@earth.li>
Fri, 15 Oct 2010 16:45:49 +0000
(16:45 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Fri, 15 Oct 2010 16:45:49 +0000
(16:45 +0000)
(which is the case in sdists)
boot
patch
|
blob
|
history
diff --git
a/boot
b/boot
index
aa3b82d
..
f47bdf6
100644
(file)
--- 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: $!";
+ }
}