diff options
author | Karl Berry <karl@freefriends.org> | 2007-05-23 20:19:22 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-05-23 20:19:22 +0000 |
commit | 2f8e23511b512e665904957f78181fb1637ab9f6 (patch) | |
tree | 29cbcc97b0fd0246cf2e8fc47eb178ef03663ec5 /Build | |
parent | caa123ff04b4cb3d68d673a86fdb77eec684c469 (diff) |
doc fixes.
git-svn-id: svn://tug.org/texlive/trunk@4345 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rwxr-xr-x | Build/tools/tlpkginfo | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/tools/tlpkginfo b/Build/tools/tlpkginfo index c4ffed26a1f..0f0e9a67c91 100755 --- a/Build/tools/tlpkginfo +++ b/Build/tools/tlpkginfo @@ -22,7 +22,7 @@ sub main return 0; } else { - die "Usage: $0 --ctan-dir PKGNAME or --ctan-root (not @ARGV).\n"; + die "Usage: $0 --ctan-dir PKGNAME or --ctan-root (not \"@ARGV\").\n"; } } @@ -142,9 +142,9 @@ sub catalogue_find_ctan_path return undef unless -r $catfile; # get the raw line from the catalogue file. (let's hope it's one line.) - my $ctan_path = `sed -n "s,^ *<ctan path='/,,p" $catfile`; + my $ctan_path = `sed -n "s,^ *<ctan path='/,,p" $catfile`; return undef unless $ctan_path; # in case it's not present at all - + # extract just the dir or file name, without options, etc. (my $ctan_loc = $ctan_path) =~ s,'/>,,; $ctan_loc =~ s,' .*,,; |