summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/tlpkginfo
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2008-04-22 19:18:34 +0000
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2008-04-22 19:18:34 +0000
commite5afed07f51e76a97bcc3f6830d780ce5d473448 (patch)
tree2cc84cf992a453cedf4e463f14a62ba1cda79058 /Master/tlpkg/bin/tlpkginfo
parente029098e9e51a306eca77248c86c9fef310f0686 (diff)
avoiding a warning with ams* and rm another (useless) warning
git-svn-id: svn://tug.org/texlive/trunk@7599 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin/tlpkginfo')
-rwxr-xr-xMaster/tlpkg/bin/tlpkginfo8
1 files changed, 4 insertions, 4 deletions
diff --git a/Master/tlpkg/bin/tlpkginfo b/Master/tlpkg/bin/tlpkginfo
index 6167e5ed568..1d5435cf2ba 100755
--- a/Master/tlpkg/bin/tlpkginfo
+++ b/Master/tlpkg/bin/tlpkginfo
@@ -38,6 +38,9 @@ sub find_ctan_dir
my ($me) = @_;
return 1 unless $me;
+ # use explicit catalogue name if given in tlpsrc.
+ $me = &tlpsrc_find_catalogue ($me) || $me;
+
# regrettably, this list of amslatex packages is duplicated in ctan2tl.
# unavoidable since ctan throws them all together, but we don't want
# to, to preserve the package-per-directory name.
@@ -45,9 +48,6 @@ sub find_ctan_dir
$me = "amslatex";
}
- # use explicit catalogue name if given in tlpsrc.
- $me = &tlpsrc_find_catalogue ($me) || $me;
-
# The CTAN path to a package is sometimes stored in the TeX Catalogue,
# but old entries don't have it, etc. Still, we want to use it if present.
my $ctan_dir = &catalogue_find_ctan_path ($me);
@@ -211,7 +211,7 @@ sub copy_to_tmpdir
system ("rm -rf $pkgdir");
mkdir ($pkgdir, 0777);
- warn "$0: copying single file $src\n";
+ # warn "$0: copying single file $src\n";
unless (system ("cp -p '$src' '$pkgdir/'") == 0) {
warn "$0: copy of $src to $pkgdir failed?!\n";
return undef;