diff options
author | Karl Berry <karl@freefriends.org> | 2006-06-15 22:14:52 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-06-15 22:14:52 +0000 |
commit | bbc1db6dc045c85cce075d04b23c7e0717c20442 (patch) | |
tree | 7dcfbfcef5e16706410625447e8434c7b7a2f63e /Build | |
parent | e336f940c1df449516a344a24ef6c5d610c38f8d (diff) |
catalogue check
git-svn-id: svn://tug.org/texlive/trunk@1684 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rwxr-xr-x | Build/tools/tlpkginfo | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Build/tools/tlpkginfo b/Build/tools/tlpkginfo index c3a86de2033..535c205576c 100755 --- a/Build/tools/tlpkginfo +++ b/Build/tools/tlpkginfo @@ -10,11 +10,14 @@ sub main { $CTAN = $ENV{"CTAN"} || "/home/ftp/tex-archive"; $CATALOGUE = $ENV{"TEX_CATALOGUE"} || "/home/httpd/html/catalogue/entries"; + -d "$CATALOGUE/k" + || die "$0: TEX_CATALOGUE ($CATALOGUE) must point to entries/ subdir" + . " of a TeX Catalogue checkout.\n"; if ($ARGV[0] eq "--ctan-dir") { return &find_ctan_dir ($ARGV[1]); } else { - die "$0: only know about --ctan-dir PKGNAME.\n"; + die "Usage: $0 --ctan-dir PKGNAME (not @ARGV)\n"; } } |