Changeset 35276
- Timestamp:
- Mar 8, 2013, 11:01:18 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130307/dvodist/scripts/mkindex.dvo.pl
r35271 r35276 1 1 #!/usr/bin/env perl 2 2 3 if (@ARGV != 1) { die "USAGE: mkindex.dvo.pl (catdir)\n" ;}3 if (@ARGV != 2) { die "USAGE: mkindex.dvo.pl (catdir) (catdir_name)\n" ;} 4 4 5 5 @nlist = ("n0000", "n0730", "n1500", "n2230", "n3000", "n3730", "n4500", "n5230", "n6000", "n6730", "n7500", "n8230"); … … 7 7 8 8 $catdir = &basename($ARGV[0]); 9 $catdir_name = "Synthetic Photometry Catdir"; 9 $catdir_name = $ARGV[1]; 10 # "Synthetic Photometry Catdir"; 10 11 11 12 &mkindex ($ARGV[0], "topdir"); … … 44 45 45 46 if ($mode eq "topdir") { 46 print FILE "(up to [PARENT](\@ ROOTWWW\@/index.php))\n\n";47 print FILE "(up to [PARENT](\@WWWHOST\@/index.php))\n\n"; 47 48 } else { 48 print FILE "(up to [$catdir_name](\@ ROOTWWW\@/$catdir/index.php))\n\n";49 print FILE "(up to [$catdir_name](\@WWWHOST\@/$catdir/index.php))\n\n"; 49 50 } 50 51 51 52 print FILE "Download this entire directory with the following command:\n\n"; 52 53 53 print FILE "<tt> wget -c -r -np -nH \@ ROOTWWW\@/$thisdir</tt>\n\n";54 print FILE "<tt> wget -c -r -np -nH \@WWWHOST\@/$thisdir/index.php</tt>\n\n"; 54 55 55 56 print FILE "@ Data Product : none : plain : title : size (bytes)\n";
Note:
See TracChangeset
for help on using the changeset viewer.
