From: Oliver J. <oli...@mo...> - 2004-01-30 13:49:12
|
same .... Index: logrotate =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/logrotate,v retrieving revision 1.17 diff -u -r1.17 logrotate --- logrotate 11 Jan 2004 14:43:04 -0000 1.17 +++ logrotate 30 Jan 2004 13:46:08 -0000 @@ -28,10 +28,13 @@ case $1 in build ) if [ "$CONFIG_LOGROTATE" = "y" ]; then - bzcat $DL_DIR/src/logrotate-3.6.6-moveout.dif.bz2 | patch -p0 || exit 1 - bzcat $DL_DIR/src/logrotate-3.6.6-dateext.dif.bz2 | patch -p0 || exit 1 - bzcat $DL_DIR/src/logrotate-3.6.6-maxage.dif.bz2 | patch -p0 || exit 1 - bzcat $DL_DIR/src/logrotate-3.6.6-conf.dif.bz2 | patch -p0 || exit 1 + if [ ! -f logrotate_patch_done ]; then + touch logrotate_patch_done + bzcat $DL_DIR/src/logrotate-3.6.6-moveout.dif.bz2 | patch -p0 || exit 1 + bzcat $DL_DIR/src/logrotate-3.6.6-dateext.dif.bz2 | patch -p0 || exit 1 + bzcat $DL_DIR/src/logrotate-3.6.6-maxage.dif.bz2 | patch -p0 || exit 1 + bzcat $DL_DIR/src/logrotate-3.6.6-conf.dif.bz2 | patch -p0 || exit 1 + fi make $PMAKE all || exit 1 strip_debug fi |