summaryrefslogtreecommitdiff
path: root/Build/cdbuild/ctan2tds.pl
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-08-24 18:26:42 +0000
committerKarl Berry <karl@freefriends.org>2007-08-24 18:26:42 +0000
commit7e5d4a6894005a55af8ca409356fff320be6dde3 (patch)
treeaa0144262f353f5dc67f4538edcce09fc70033b0 /Build/cdbuild/ctan2tds.pl
parentf7ddc9080facd61f95673362b5af441285d284fc (diff)
animate update (23aug07)
git-svn-id: svn://tug.org/texlive/trunk@4788 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/cdbuild/ctan2tds.pl')
-rwxr-xr-xBuild/cdbuild/ctan2tds.pl23
1 files changed, 11 insertions, 12 deletions
diff --git a/Build/cdbuild/ctan2tds.pl b/Build/cdbuild/ctan2tds.pl
index 4479e4fb78a..721324b7c9f 100755
--- a/Build/cdbuild/ctan2tds.pl
+++ b/Build/cdbuild/ctan2tds.pl
@@ -1115,20 +1115,19 @@ $cleanpatt='\.head|\.tmp|\.dvi|\.log|\.out|\.aux|\.toc|\.lof|\.lot|\.bbl|\.blg|\
'minitoc' => 'minitoc-texmf.zip', # should just use it, actually
);
-# command line options
-$opt_debug = 1; # verbosity is good?
-$result = GetOptions (
-"debug!",
-"test!"
- );
-
-if ($result eq 0 ) {
- die ("OPTION FAILURE");
-}
-
-# Read from config file to make local adjustments to above
+# Read from config file to make local adjustments to above.
readconfig();
+# command line options
+$opt_debug = 1; # verbosity is good
+exit 2 unless Getopt::Long::GetOptions (
+ "ctan-dir=s",
+ "debug!",
+ "help",
+ "test|n!",
+ "version",
+);
+
#
for (@ARGV) {
$packagedir=$_;