Skip to content

Commit

Permalink
Some set -u fixes with make.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
vaeth committed Jul 12, 2016
1 parent cdb5f64 commit 4806616
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions contrib/make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,10 @@ then unset CFLAGS CXXFLAGS LDFLAGS CPPFLAGS CXX
automake_extra=$automake_extra' -Werror'
fi
fi
Info "export CXXFLAGS='$CXXFLAGS'"
Info "export LDFLAGS='$LDFLAGS'"
Info "export CPPFLAGS='$CPPFLAGS'"
[ -z "$CXX" ] || Info "export CXX='$CXX'"
[ -z "${CXXFLAGS-}" ] ||Info "export CXXFLAGS='${CXXFLAGS}'"
[ -z "${LDFLAGS-}" ] ||Info "export LDFLAGS='${LDFLAGS}'"
[ -z "${CPPFLAGS-}" ] ||Info "export CPPFLAGS='${CPPFLAGS}'"
[ -z "${CXX-}" ] || Info "export CXX='${CXX}'"
if ! test -e Makefile
then if ! test -e configure || ! test -e Makefile.in
then InfoVerbose './autogen.sh' $automake_extra
Expand Down

0 comments on commit 4806616

Please sign in to comment.