Skip to content

Commit

Permalink
make sure that the get function exits successfully in absence of vari…
Browse files Browse the repository at this point in the history
…able value

git-svn-id: http://svn.apache.org/repos/asf/incubator/couchdb/trunk@668137 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
nslater committed Jun 16, 2008
1 parent c72644c commit 83a4848
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bootstrap
Expand Up @@ -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
Expand Down

0 comments on commit 83a4848

Please sign in to comment.