Changeset 32810 for trunk/pstamp/scripts
- Timestamp:
- Nov 25, 2011, 8:52:24 AM (15 years ago)
- File:
-
- 1 edited
-
trunk/pstamp/scripts/pstamp_parser_run.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/scripts/pstamp_parser_run.pl
r30317 r32810 89 89 # outdir is where all of the files generated for this request are placed 90 90 # NOTE: this location needs to be kept in sync with the web interface ( request.php ) 91 my $datestr = strftime "%Y %m%d", gmtime;91 my $datestr = strftime "%Y/%m/%d", gmtime; 92 92 my $datedir = "$pstamp_workdir/$datestr"; 93 93 if (! -e $datedir ) { 94 mkdir $datedir or my_die( "failed to create working directory $datedir for request id $req_id", $req_id, 95 $PS_EXIT_CONFIG_ERROR); 94 my $rc = system "mkdir -p $datedir"; 95 if ($rc) { 96 my $status = $rc >> 8; 97 $status = $PS_EXIT_CONFIG_ERROR if !$status; 98 my_die( "failed to create working directory $datedir for request id $req_id", $req_id, 99 $status); 100 } 96 101 } 97 102
Note:
See TracChangeset
for help on using the changeset viewer.
