]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
remove unnecessary variable
authorJoey Hess <joey@gnu.kitenet.net>
Sat, 4 Apr 2009 23:04:02 +0000 (19:04 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Sat, 4 Apr 2009 23:04:02 +0000 (19:04 -0400)
IkiWiki/Plugin/darcs.pm
po/ikiwiki.pot

index de9ef4f03a083ec5e2f8a129e82ef1e84276c1f1..9b62e70e49e062fbcccfb5312e54157fcc5a1385 100644 (file)
@@ -393,16 +393,13 @@ sub rcs_getctime ($) {
        eval q{use XML::Simple};
        local $/=undef;
 
-       # Sigh... doing things the hard way again
-       my $repodir=$config{srcdir};
-
-       my $filer=substr($file, length($repodir));
+       my $filer=substr($file, length($config{srcdir}));
        $filer =~ s:^[/]+::;
 
        my $child = open(LOG, "-|");
        if (! $child) {
                exec("darcs", "changes", "--xml", "--reverse",
-                       "--repodir", "$repodir", "$filer")
+                       "--repodir", $config{srcdir}, $filer)
                || error("'darcs changes $filer' failed to run");
        }
 
index b05558858752bcfe96664c6383438d58ad6db486..d05a4a6936ed06e4cd0302d8f45ab8226a9ab33d 100644 (file)
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-04-04 18:19-0400\n"
+"POT-Creation-Date: 2009-04-04 18:50-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"