- Timestamp:
- Sep 19, 2014, 4:05:27 PM (12 years ago)
- Location:
- branches/eam_branches/ps2-tc3-20130727
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
pstamp/scripts/pstamp_insert_request.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ps2-tc3-20130727
- Property svn:mergeinfo changed
-
branches/eam_branches/ps2-tc3-20130727/pstamp/scripts/pstamp_insert_request.pl
r36680 r37403 119 119 } 120 120 121 my $datestr = strftime "%Y%m%d", gmtime; 121 # put file in directory for the current date 122 my $datestr = strftime "%Y/%m/%d", gmtime; 122 123 my $datedir = "$workdir/webreq/$datestr"; 123 124 if (! -e $datedir ) { 124 if (! mkdir $datedir ) { 125 print STDERR "failed to create working directory $datedir"; 125 my $rc = system "mkdir -p $datedir"; 126 if ($rc) { 127 my $status = $rc >> 8; 128 print STDERR "failed to create working directory $datedir: $rc $status"; 126 129 exit $PS_EXIT_CONFIG_ERROR; 127 130 } 128 131 } 132 129 133 130 134 my $webreq_num = get_webreq_num();
Note:
See TracChangeset
for help on using the changeset viewer.
