diff options
author | Noah Slater <nslater@apache.org> | 2008-06-16 12:25:24 +0000 |
---|---|---|
committer | Noah Slater <nslater@apache.org> | 2008-06-16 12:25:24 +0000 |
commit | 1375f3a4d8a823fe38d55fc10176702cddb8395f (patch) | |
tree | 12481bea1793ec81a30985b9cf1d923b6e8b335e | |
parent | bef64ce93c54b75828f3722f321f7fa3353ed8de (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-x | bootstrap | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |