forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: r929781 - /forrest/zone/config/update_check.sh
Date Thu, 01 Apr 2010 02:11:00 GMT
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
-



Mime
View raw message