svn commit: r929781 - /forrest/zone/config/update_check.sh

[email protected]
Newsgroups gmane.text.xml.forrest.cvs
Message-ID <[email protected]>
Author: crossley
Date: Thu Apr  1 02:10:59 2010
New Revision: 929781

URL: http://svn.apache.org/viewvc?rev=929781&view=rev
Log:
Fix syntax error, and escape meta-character.

Modified:
    forrest/zone/config/update_check.sh

Modified: forrest/zone/config/update_check.sh
URL: http://svn.apache.org/viewvc/forrest/zone/config/update_check.sh?rev=929781&r1=929780&r2=929781&view=diff
==============================================================================
--- forrest/zone/config/update_check.sh (original)
+++ forrest/zone/config/update_check.sh Thu Apr  1 02:10:59 2010
@@ -1,12 +1,7 @@
 #!/bin/sh
 
-/opt/subversion-current/bin/svn st -u | grep '*'
+/opt/subversion-current/bin/svn st -u | grep '\*'
 
 if [ $? = 0 ]; then
-
-/export/home/config/update-forrest-trunk.sh
-
-else
-
+  /export/home/config/update-forrest-trunk.sh
 fi
-
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.