summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-04-03 13:04:16 +0100
committerIan Lynagh <igloo@earth.li>2011-04-03 13:04:16 +0100
commitffb2e81c03a01e74825b3a0223e214df59241fab (patch)
tree866649518bdb15518c3dfdd7e3646e550a6bd655 /boot
parent88e9830e959786e06686c3b700081c2ea5a3abfd (diff)
downloadhaskell-ffb2e81c03a01e74825b3a0223e214df59241fab.tar.gz
Update boot scripts for git
Diffstat (limited to 'boot')
-rwxr-xr-xboot13
1 files changed, 3 insertions, 10 deletions
diff --git a/boot b/boot
index f47bdf6491..ae57381636 100755
--- a/boot
+++ b/boot
@@ -43,13 +43,13 @@ while (<PACKAGES>) {
# If $tag is not "-" then it is an optional repository, so its
# absence isn't an error.
if (defined($required_tag{$tag})) {
- # We would like to just check for an _darcs directory here,
- # but in an lndir tree we avoid making _darcs directories,
+ # We would like to just check for a .git directory here,
+ # but in an lndir tree we avoid making .git directories,
# so it doesn't exist. We therefore require that every repo
# has a LICENSE file instead.
if (! -f "$dir/LICENSE") {
print STDERR "Error: $dir/LICENSE doesn't exist.\n";
- die "Maybe you haven't done './darcs-all get'?";
+ die "Maybe you haven't done './sync-all get'?";
}
}
}
@@ -70,10 +70,3 @@ foreach $dir (".", glob("libraries/*/")) {
}
}
-# Alas, darcs doesn't handle file permissions, so fix a few of them.
-for my $file ("boot", "darcs-all", "validate") {
- if (-f $file) {
- chmod 0755, $file
- or die "Can't chmod 0755 $file: $!";
- }
-}