couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nsla...@apache.org
Subject svn commit: r668137 - /incubator/couchdb/trunk/bootstrap
Date Mon, 16 Jun 2008 12:25:24 GMT
Author: nslater
Date: Mon Jun 16 05:25:24 2008
New Revision: 668137

URL: http://svn.apache.org/viewvc?rev=668137&view=rev
Log:
make sure that the get function exits successfully in absence of variable value

Modified:
    incubator/couchdb/trunk/bootstrap

Modified: incubator/couchdb/trunk/bootstrap
URL: http://svn.apache.org/viewvc/incubator/couchdb/trunk/bootstrap?rev=668137&r1=668136&r2=668137&view=diff
==============================================================================
--- incubator/couchdb/trunk/bootstrap (original)
+++ incubator/couchdb/trunk/bootstrap Mon Jun 16 05:25:24 2008
@@ -39,10 +39,10 @@
     sed -e "s/m4_//" < $ACINCLUDE_IN_FILE >> $temporary_file
     echo $variable_name >> $temporary_file
     if test -x "`which m4 || true`"; then
-        `which m4` $temporary_file | grep -v "^$"
+        `which m4` $temporary_file | grep -v "^$" || true
     else
         if test -x "`which gm4 || true`"; then
-            `which gm4` $temporary_file | grep -v "^$"
+            `which gm4` $temporary_file | grep -v "^$" || true
         else
             echo unknown
         fi



Mime
View raw message