git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added DISABLE_DKIM option to EDITME, leaving some breadcrumbs about it being turned...
[exim.git]
/
src
/
src
/
exicyclog.src
diff --git
a/src/src/exicyclog.src
b/src/src/exicyclog.src
index 56e3b664440ea2874a5b16598b21715c2641240d..3d67ee9f06b9fca5f4d976ab320fc1059b42ccc3 100644
(file)
--- a/
src/src/exicyclog.src
+++ b/
src/src/exicyclog.src
@@
-1,7
+1,7
@@
#! /bin/sh
#! /bin/sh
-# $Cambridge: exim/src/src/exicyclog.src,v 1.
7 2008/02/06 12:35:03
nm4 Exp $
+# $Cambridge: exim/src/src/exicyclog.src,v 1.
11 2009/11/16 19:50:36
nm4 Exp $
-# Copyright (c)
2006 University of Cambridge.
+# Copyright (c)
University of Cambridge, 1995 - 2007
# See the file NOTICE for conditions of use and distribution.
# This script takes the following command line arguments:
# See the file NOTICE for conditions of use and distribution.
# This script takes the following command line arguments:
@@
-53,12
+53,12
@@
keep=EXICYCLOG_MAX
compress=COMPRESS_COMMAND
suffix=COMPRESS_SUFFIX
compress=COMPRESS_COMMAND
suffix=COMPRESS_SUFFIX
-chown=CHOWN_COMMAND
chgrp=CHGRP_COMMAND
chmod=CHMOD_COMMAND
chgrp=CHGRP_COMMAND
chmod=CHMOD_COMMAND
-
touch=TOUCH
_COMMAND
+
chown=CHOWN
_COMMAND
mv=MV_COMMAND
rm=RM_COMMAND
mv=MV_COMMAND
rm=RM_COMMAND
+touch=TOUCH_COMMAND
# End of editable lines
#########################################################################
# End of editable lines
#########################################################################
@@
-84,7
+84,7
@@
done
# in different places. We have a fudge that will search the usual suspects if
# requested.
# in different places. We have a fudge that will search the usual suspects if
# requested.
-for cmd in ch
own chgrp mv rm
; do
+for cmd in ch
grp chmod chown mv rm touch
; do
eval "oldcmd=\$$cmd"
if [ "$oldcmd" != "look_for_it" ] ; then continue ; fi
newcmd=$cmd
eval "oldcmd=\$$cmd"
if [ "$oldcmd" != "look_for_it" ] ; then continue ; fi
newcmd=$cmd
@@
-251,7
+251,7
@@
count=$keep
if [ $count -lt 10 ]; then countt=0$count; else countt=$count; fi
while [ $count -gt 1 ]; do
if [ $count -lt 10 ]; then countt=0$count; else countt=$count; fi
while [ $count -gt 1 ]; do
- old=`expr $count - 1`
+ old=`expr
--
$count - 1`
if [ $keep -gt 99 ]; then
if [ $old -lt 10 ]; then oldt=00$old
elif [ $old -lt 100 ]; then oldt=0$old
if [ $keep -gt 99 ]; then
if [ $old -lt 10 ]; then oldt=00$old
elif [ $old -lt 100 ]; then oldt=0$old
@@
-334,7
+334,7
@@
while [ $count -le $keep ]; do
$chown $user:$group $paniclog.$countt.$suffix
fi
$chown $user:$group $paniclog.$countt.$suffix
fi
- count=`expr $count + 1`
+ count=`expr
--
$count + 1`
done
# End of exicyclog
done
# End of exicyclog