Update of /cvsroot/fink/experimental/gecko2/scripts
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv6365

Modified Files:
        sync-distfiles-finkinfo.sh 
Log Message:
Applying latest change


Index: sync-distfiles-finkinfo.sh
===================================================================
RCS file: /cvsroot/fink/experimental/gecko2/scripts/sync-distfiles-finkinfo.sh,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- sync-distfiles-finkinfo.sh  24 Oct 2009 07:43:37 -0000      1.10
+++ sync-distfiles-finkinfo.sh  22 Nov 2009 00:17:21 -0000      1.11
@@ -12,14 +12,14 @@
 # Change NOTHING below this line
 ###
 printf 'Running generate-distfiles-and-finkinfo-mirror.pl...\n'
-if [ -f ${TMPDIR}/mirror.lock ]; then
+if [ -s ${TMPDIR}/mirror.lock ]; then
        printf "MIRROR locked... existing\n"
        exit 1
 fi
 ${SCRIPTDIR}/generate-distfiles-and-finkinfo-mirror.pl
 test -s ${HTTPSNAPDIR}/FORCED && mv ${HTTPSNAPDIR}/FORCED{,.old}
 test -f ${TMPDIR}/FORCE && test -f ${LOGDIR}/change.log && date -u +%s 
>${HTTPSNAPDIR}/FORCED && rm -f ${HTTPSNAPDIR}/FORCED.old
-if [ \! -f ${TMPDIR}/mirror.lock ]; then
+if [ \! -s ${TMPDIR}/mirror.lock ]; then
        printf "\n\n\nLogFile: "${LOGDIR}"/mirror.log\n\n"
        grep -ve 'has not changed' -e 'fetching files for' -e 'exists$' 
${LOGDIR}/mirror.log | sed 's/^/| /'
        if [ \! -f ${LOGDIR}/change.log ]; then


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to