if (-d "libraries/$package/_darcs") {
print "Ignoring libraries/$package as it looks like a darcs checkout\n"
}
+ elsif (-d "libraries/$package/.git") {
+ print "Ignoring libraries/$package as it looks like a git checkout\n"
+ }
else {
if (! -d "libraries/stamp") {
mkdir "libraries/stamp";
or die "Failed to open $pkgs: $!";
while (<PKGS>) {
chomp;
+ s/\r//g;
if (/.+/) {
push @library_dirs, "$package/$_";
}