From 1375f3a4d8a823fe38d55fc10176702cddb8395f Mon Sep 17 00:00:00 2001 From: Noah Slater Date: Mon, 16 Jun 2008 12:25:24 +0000 Subject: make sure that the get function exits successfully in absence of variable value git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@668137 13f79535-47bb-0310-9956-ffa450edef68 --- bootstrap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bootstrap b/bootstrap index 86be5abe..6b958254 100755 --- a/bootstrap +++ b/bootstrap @@ -39,10 +39,10 @@ get () { 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 -- cgit v1.2.3