X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=boot;h=ae573816366ea3ed0252807b098f665d8ba6971e;hb=1844c3c0804cac9b3e7c39500e47d75fbdc3a3ff;hp=f47bdf649134f1c2fea3e73f77f72c0c42618872;hpb=376bb624b0d66d4f2015ded40c46b3ea7a8263aa;p=ghc-hetmet.git diff --git a/boot b/boot index f47bdf6..ae57381 100755 --- a/boot +++ b/boot @@ -43,13 +43,13 @@ while () { # 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: $!"; - } -}