svn commit: r631163 - /lenya/zone/bin/nightly-docu.sh

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: andreas
Date: Tue Feb 26 02:27:41 2008
New Revision: 631163

URL: http://svn.apache.org/viewvc?rev=631163&view=rev
Log:
Fixing directory name (lenya-docu -> lenya-trunk-docu), adding missing 'then' to if clause.

Modified:
    lenya/zone/bin/nightly-docu.sh

Modified: lenya/zone/bin/nightly-docu.sh
URL: http://svn.apache.org/viewvc/lenya/zone/bin/nightly-docu.sh?rev=631163&r1=631162&r2=631163&view=diff
==============================================================================
--- lenya/zone/bin/nightly-docu.sh (original)
+++ lenya/zone/bin/nightly-docu.sh Tue Feb 26 02:27:41 2008
@@ -17,7 +17,7 @@
 echo "starting date is " >> $logfile
 date >> $logfile
 
-cd /export/home/lenya/src/lenya-docu
+cd /export/home/lenya/src/lenya-trunk-docu
 
 #first, kill running Lenya instance
 echo >> $logfile
@@ -25,6 +25,7 @@
 
 pid_file=/export/home/lenya/bin/lenya-docu.pid
 if test -f $pid_file
+then
   DOCU_PID=`cat /export/home/lenya/bin/lenya-docu.pid`
   ps -ef |grep lenya|grep $DOCU_PID|grep -v grep|awk '{print "kill -9 "$2}'|sh >> $logfile
   rm $pid_file  >> $logfile
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.