From: Stefano Lattarini Date: Tue, 3 May 2011 21:40:00 +0000 (+0200) Subject: tests defs: one more environment sanitization (corner case) X-Git-Tag: ng-0.5a~89^2~247 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9dcc72a3121457bad5c01f29bb8ed96a3df34a3c;p=thirdparty%2Fautomake.git tests defs: one more environment sanitization (corner case) * tests/defs (am__using_gmake): Initialize. The `using_gmake' subroutine was using this variable for caching, but wasn't initializing it, which could cause problems in the (admittedly very unlikely) case in which it was pre-existent in the environment. --- diff --git a/ChangeLog b/ChangeLog index 2ad40b9f5..eda448ecc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2011-05-03 Stefano Lattarini + + tests defs: one more environment sanitization (corner case) + * tests/defs (am__using_gmake): Initialize. The `using_gmake' + subroutine was using this variable for caching, but wasn't + initializing it, which could cause problems in the (admittedly + very unlikely) case in which it was pre-existent in the + environment. + 2011-05-03 Stefano Lattarini tests: add forgotten test scripts to $(TESTS) diff --git a/tests/defs b/tests/defs index d85abf080..44c5b3b5a 100644 --- a/tests/defs +++ b/tests/defs @@ -190,6 +190,7 @@ using_gmake () Exit 99;; esac } +am__using_gmake="" # Avoid interferences from the environment. commented_sed_unindent_prog=' /^$/b # Nothing to do for empty lines.