Created
September 12, 2017 11:12
-
-
Save mischnic/f8b0433934e046c4e6d0202d99276b82 to your computer and use it in GitHub Desktop.
TeXcount 3.0.1 auxdir patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/texcount.pl b/texcount.pl | |
index d711133..e70f5de 100755 | |
--- a/texcount.pl | |
+++ b/texcount.pl | |
@@ -1248,7 +1248,7 @@ sub include_file { | |
my $filepath; | |
if ($type eq '<bbl>' && defined $auxdir) { | |
$auxdir=~s/([\\\/])*$/\//; | |
- if (defined $globalworkdir) {@paths=[$auxdir];} | |
+ if (defined $globalworkdir) {@paths=$auxdir;} | |
elsif ($auxdir=~/^(\w:)?[\\\/]/) {@paths=[$auxdir];} | |
else {@paths=[$workdir.$auxdir]} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment