From 83a4848dd227424c33155b44c105e94c924ed9ae Mon Sep 17 00:00:00 2001 From: nslater Date: Mon, 16 Jun 2008 12:25:24 +0000 Subject: [PATCH] make sure that the get function exits successfully in absence of variable value git-svn-id: http://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