X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=boot;h=ae573816366ea3ed0252807b098f665d8ba6971e;hb=1844c3c0804cac9b3e7c39500e47d75fbdc3a3ff;hp=aa3b82d04a914b1b985022d64d0dbe8c2fa046f1;hpb=26b6eac2c4d9409e625c1c4fd325a76076d5cd26;p=ghc-hetmet.git diff --git a/boot b/boot old mode 100644 new mode 100755 index aa3b82d..ae57381 --- 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,8 +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") { - chmod 0755, $file if -f $file - or die "Can't chmod 0755 $file: $!"; -}