Index: ossp-pkg/shtool/sh.rotate RCS File: /v/ossp/cvs/ossp-pkg/shtool/sh.rotate,v rcsdiff -q -kk '-r1.15' '-r1.16' -u '/v/ossp/cvs/ossp-pkg/shtool/sh.rotate,v' 2>/dev/null --- sh.rotate 2008/09/21 15:01:15 1.15 +++ sh.rotate 2008/09/22 13:03:48 1.16 @@ -399,7 +399,7 @@ # pass archive file name to epilog command # epilog cannot be handed an argument as it is often # called as "epilog && something" - SHTOOL_ROTATE_LOGFILE="${adir}/${file}.${n}" + SHTOOL_ROTATE_LOGFILE="${adir}/${file}" export SHTOOL_ROTATE_LOGFILE if [ ".$opt_t" = .yes ]; then echo "$opt_E" @@ -568,13 +568,16 @@ =item B<-P>, B<--prolog> I -Execute a "prolog" command before the rotation step. Useful in -conjunction with B<-s>. +Execute a "prolog" command before the rotation step. +Useful in conjunction with B<-s>. The environment variable +C points to the path of the original logfile. =item B<-E>, B<--epilog> I -Execute a "epilog" command after the rotation step. Useful in -conjunction with B<-s>. +Execute a "epilog" command after the rotation step. Useful +in conjunction with B<-s>. The environment variable +C points to the path of the archived logfile +(without any number extension). =back