summaryrefslogtreecommitdiff
path: root/sync-all
diff options
context:
space:
mode:
authorJoachim Breitner <mail@joachim-breitner.de>2014-06-25 19:44:18 -0700
committerJoachim Breitner <mail@joachim-breitner.de>2014-06-25 19:48:37 -0700
commitbcccadd9719d89c1e51619bc01c3d655ddf0e5f1 (patch)
tree284667cd61a67e61f5fb63d17e47865dcb713f6e /sync-all
parent4bf3aa23d76c0e9ef88b382e4edfbfa847bd6bb5 (diff)
downloadhaskell-bcccadd9719d89c1e51619bc01c3d655ddf0e5f1.tar.gz
Fix “Checking for old .. repo” messages
Diffstat (limited to 'sync-all')
-rwxr-xr-xsync-all4
1 files changed, 2 insertions, 2 deletions
diff --git a/sync-all b/sync-all
index 517d4ff15d..355e16a562 100755
--- a/sync-all
+++ b/sync-all
@@ -943,8 +943,8 @@ END {
["libraries/Cabal", "c8ebd66a32865f72ae03ee0663c62df3d77f08fe"],
);
for (@obsolete_dirs) {
- my ($dir, $hash) = $_;
- my $name = $dir =~ m!/([^/]+)$!;
+ my ($dir, $hash) = @$_;
+ my ($name) = $dir =~ m!/([^/]+)$!;
message "== Checking for old $name repo";
if (-d "$dir/.git") {
chdir($dir);