- Timestamp:
- Jan 11, 2012, 11:19:21 PM (15 years ago)
- Location:
- branches/meh_branches/ppsub_test
- Files:
-
- 3 edited
-
. (modified) (1 prop)
-
pstamp/scripts (modified) (1 prop)
-
pstamp/scripts/pstamp_parser_run.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/meh_branches/ppsub_test
- Property svn:mergeinfo changed
-
branches/meh_branches/ppsub_test/pstamp/scripts
- Property svn:mergeinfo set to
-
branches/meh_branches/ppsub_test/pstamp/scripts/pstamp_parser_run.pl
r30317 r33098 55 55 } 56 56 57 $need_magic = 0; 58 57 59 my $missing_tools; 58 60 … … 89 91 # outdir is where all of the files generated for this request are placed 90 92 # NOTE: this location needs to be kept in sync with the web interface ( request.php ) 91 my $datestr = strftime "%Y %m%d", gmtime;93 my $datestr = strftime "%Y/%m/%d", gmtime; 92 94 my $datedir = "$pstamp_workdir/$datestr"; 93 95 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); 96 my $rc = system "mkdir -p $datedir"; 97 if ($rc) { 98 my $status = $rc >> 8; 99 $status = $PS_EXIT_CONFIG_ERROR if !$status; 100 my_die( "failed to create working directory $datedir for request id $req_id", $req_id, 101 $status); 102 } 96 103 } 97 104
Note:
See TracChangeset
for help on using the changeset viewer.
