summaryrefslogtreecommitdiff
path: root/Build/tools/tlpkginfo
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-06-06 20:18:27 +0000
committerKarl Berry <karl@freefriends.org>2006-06-06 20:18:27 +0000
commit6d4f24480ba3309e94d9251cb9b63a885e1aa299 (patch)
tree59568d08c03cd26c866d5a606cda3a5800d5a267 /Build/tools/tlpkginfo
parentbc5516e2d3796120c05af445b928abb57aa56d4d (diff)
TMPDIR typo, catalogue args
git-svn-id: svn://tug.org/texlive/trunk@1660 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/tools/tlpkginfo')
-rwxr-xr-xBuild/tools/tlpkginfo5
1 files changed, 3 insertions, 2 deletions
diff --git a/Build/tools/tlpkginfo b/Build/tools/tlpkginfo
index 3630f31ac52..c3a86de2033 100755
--- a/Build/tools/tlpkginfo
+++ b/Build/tools/tlpkginfo
@@ -44,7 +44,7 @@ sub find_ctan_dir
"macros/latex/contrib/powerdot/contrib/$menopowerdot", # powerdot-doc-vn
"macros/latex/exptl/$me", # semioneside
"macros/latex/required/$me", # babel
- "macros/plain/$me", # plnfss
+ "macros/plain/$me", # plnfss
"macros/xetex/latex/$me", # xetex
"macros/generic/$me", # abbr
"macros/generic/diagrams/$me", # circ
@@ -118,7 +118,8 @@ sub catalogue_find_ctan_path
my $catfile = "$CATALOGUE/$firstchar/$pkgname.xml";
return undef unless -r $catfile;
- my $ctan_path = `sed -n -e "s,'/>,," -e "s,^ *<ctan path='/,,p" $catfile`;
+ my $ctan_path
+ = `sed -n -e "s,'/>,," -e "s,' .*,," -e "s,^ *<ctan path='/,,p" $catfile`;
return undef unless $ctan_path;
chomp ($ctan_path);