]> sipb.mit.edu Git - ikiwiki.git/commitdiff
fix display of error msg
authorJoey Hess <joey@kodama.kitenet.net>
Wed, 29 Oct 2008 17:38:26 +0000 (13:38 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Wed, 29 Oct 2008 17:38:26 +0000 (13:38 -0400)
IkiWiki/Render.pm

index bc997ffb0f0e655dd65540ba81e588ed6625e909..7f9c4cb9c9f6760a8d3c91c7ff6c623cff624eed 100644 (file)
@@ -250,7 +250,7 @@ sub refresh () { #{{{
        my $test=$config{srcdir};
        while (length $test) {
                if (-l $test && ! $config{allow_symlinks_before_srcdir}) {
        my $test=$config{srcdir};
        while (length $test) {
                if (-l $test && ! $config{allow_symlinks_before_srcdir}) {
-                       error(sprintf(gettext("symlink found in srcdir path (%s) -- set allow_symlinks_before_srcdir to allow this")), $test);
+                       error(sprintf(gettext("symlink found in srcdir path (%s) -- set allow_symlinks_before_srcdir to allow this"), $test));
                }
                unless ($test=~s/\/+$//) {
                        $test=dirname($test);
                }
                unless ($test=~s/\/+$//) {
                        $test=dirname($test);