summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoah Slater <nslater@apache.org>2008-06-16 12:25:24 +0000
committerNoah Slater <nslater@apache.org>2008-06-16 12:25:24 +0000
commit1375f3a4d8a823fe38d55fc10176702cddb8395f (patch)
tree12481bea1793ec81a30985b9cf1d923b6e8b335e
parentbef64ce93c54b75828f3722f321f7fa3353ed8de (diff)
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
-rwxr-xr-xbootstrap4
1 files 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