File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1215,14 +1215,14 @@ cat str-trailer.html >>$strfile
12151215echo " "
12161216for file in $BASE /log/* _log; do
12171217 baselog=` basename $file `
1218- cp $file $baselog -$date -$user
1219- echo " Copied log file \" $baselog -$date -$user \" to test directory."
1218+ cp $file $baselog -$date -$user .txt
1219+ echo " Copied log file \" $baselog -$date -$user .txt \" to test directory."
12201220done
12211221cp $strfile .
12221222echo " Copied report file \" cups-str-$date -$user .html\" to test directory."
12231223
12241224# Clean out old failure log files after 1 week...
1225- find . -name \* _log-\* -$user -a -mtime +7 -print -exec rm -f ' {}' \; | awk ' {print "Removed old log file \"" substr($1,3) "\" from test directory."}'
1225+ find . -name \* _log-\* -$user .txt -a -mtime +7 -print -exec rm -f ' {}' \; | awk ' {print "Removed old log file \"" substr($1,3) "\" from test directory."}'
12261226find . -name cups-str-\* -$user .html -a -mtime +7 -print -exec rm -f ' {}' \; | awk ' {print "Removed old report file \"" $1 "\" from test directory."}'
12271227
12281228echo " "
You can’t perform that action at this time.
0 commit comments