Develop and Download Open Source Software

Browse CVS Repository

Diff of /tombo/htdocs/pagegen.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.4 by hirami, Tue Apr 27 14:25:17 2004 UTC revision 1.5 by hirami, Sat Jul 3 07:18:08 2004 UTC
# Line 1  Line 1 
1  #! /usr/bin/perl  #! /usr/bin/perl
2    
3  $base  ="http://tombo.sourceforge.jp";  #$base  ="http://tombo.sourceforge.jp";
4  $pjhome="http://sourceforge.jp/projects/tombo";  $pjhome="http://sourceforge.jp/projects/tombo";
5    
6  $menufile = "menu.txt";  $menufile = "menu.txt";
# Line 9  $headerfile = "header.txt"; Line 9  $headerfile = "header.txt";
9    
10    
11    
12  if ($#ARGV != 1 || !-d $ARGV[0] || !-d $ARGV[1]) {  if ($#ARGV != 2 || !-d $ARGV[0] || !-d $ARGV[1]) {
13          print "Usage : pagegen.pl <TMPLDIR> <OUTDIR>\n";          print "Usage : pagegen.pl <TMPLDIR> <OUTDIR> <BASE>\n";
14          exit 1;          exit 1;
15  }  }
16    
17  $srcdir = $ARGV[0];  $srcdir = $ARGV[0];
18  $dstdir = $ARGV[1];  $dstdir = $ARGV[1];
19    $base = $ARGV[2];
20    
21  opendir(DIR_S, $srcdir) || die;  opendir(DIR_S, $srcdir) || die;
22  while($file = readdir(DIR_S)) {  while($file = readdir(DIR_S)) {

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26