Commit 33350eab authored by Joachim Breitner's avatar Joachim Breitner

Do not use basename()

parent bbf1cca5
......@@ -1002,7 +1002,7 @@ END {
);
for (@obsolete_dirs) {
my ($dir, $hash) = $_;
my $name = basename $dir;
my $name = $dir =~ m!/([^/]+)$!;
message "== Checking for old $name repo";
if (-d "$dir/.git") {
chdir($dir);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment