diff options
author | Joachim Breitner <mail@joachim-breitner.de> | 2014-04-19 16:14:38 +0200 |
---|---|---|
committer | Joachim Breitner <mail@joachim-breitner.de> | 2014-04-19 16:14:38 +0200 |
commit | 33350eab727a24440ee583b854c6643d334eb75d (patch) | |
tree | 0470d32ada6e04534f2c68d756058e687b45d572 | |
parent | bbf1cca551c1b401f869468ea53518765132a6c9 (diff) | |
download | haskell-33350eab727a24440ee583b854c6643d334eb75d.tar.gz |
Do not use basename()
-rwxr-xr-x | sync-all | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |