Changeset 36751 for tags/ipp-20130712
- Timestamp:
- May 15, 2014, 1:48:34 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/ipp-20130712/pstamp/scripts/pstamp_insert_request.pl
r36592 r36751 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.
