INN commit: branches/2.5/scripts (news.daily.in)
INN Commit
rra at isc.org
Wed Dec 16 22:10:25 UTC 2009
Date: Wednesday, December 16, 2009 @ 14:10:24
Author: iulius
Revision: 8847
Do not overwrite LOCKS from innshellvars in case someone
in the future expects it to have the value in innshellvars
in the entire script.
Also prevent a call to LOCK afterwards in the script from
failing.
Thanks to S.P.Zeidler for the patch.
Modified:
branches/2.5/scripts/news.daily.in
---------------+
news.daily.in | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Modified: news.daily.in
===================================================================
--- news.daily.in 2009-12-16 22:08:53 UTC (rev 8846)
+++ news.daily.in 2009-12-16 22:10:24 UTC (rev 8847)
@@ -236,17 +236,17 @@
cd "${PATHSPOOL}/${INNFEEDSPOOL}"
# Find the PIDs of innfeed.
- LOCKS=`cat *.lock 2>/dev/null | ${SORT} -u`
+ INNFEEDLOCKS=`cat *.lock 2>/dev/null | ${SORT} -u`
# Process files like "innfeed-dropped.A001703" where
- # 1703 is not in $LOCKS.
+ # 1703 is not in $INNFEEDLOCKS.
for file in `find . -name "innfeed-dropped*" -print`
do
PID=`echo "$file" | ${SED} 's/^.*[A-Z]0*//'`
FOUND=false
- for LOCK in $LOCKS
+ for INNFEEDLOCK in $INNFEEDLOCKS
do
- if [ "$PID" = "$LOCK" ]
+ if [ "$PID" = "$INNFEEDLOCK" ]
then
FOUND=true
fi
More information about the inn-committers
mailing list