- Timestamp:
- Aug 11, 2009, 3:54:00 PM (17 years ago)
- Location:
- branches/czw_branch/cleanup
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
pstamp/scripts/pstamp_parser_run.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/cleanup
- Property svn:mergeinfo changed
/trunk merged: 24940-24950,24953-24971,24973-24977,24986-24989,24993-25017,25019,25021,25023-25024,25026,25029-25031,25036-25049
- Property svn:mergeinfo changed
-
branches/czw_branch/cleanup/pstamp/scripts/pstamp_parser_run.pl
r24951 r25051 13 13 use Getopt::Long qw( GetOptions ); 14 14 use File::Basename qw( basename dirname); 15 use POSIX qw( strftime ); 15 16 16 17 my $req_id; … … 74 75 } 75 76 76 # workdir is where we download request files to and place any error output from the parser77 # workdir is where all of the files generated for this request are placed 77 78 # NOTE: this location needs to be kept in sync with the web interface ( request.php ) 78 my $workdir = "$pstamp_workdir/$req_id"; 79 79 my $datestr = strftime "%Y%m%d", gmtime; 80 my $datedir = "$pstamp_workdir/$datestr"; 81 if (! -e $datedir ) { 82 mkdir $datedir or die "failed to create working directory $datedir for request id $req_id"; 83 } 84 85 my $workdir = "$datedir/$req_id"; 80 86 if (! -e $workdir ) { 81 87 mkdir $workdir or die "failed to create working directory $workdir for request id $req_id";
Note:
See TracChangeset
for help on using the changeset viewer.
