author | Johannes Schindelin <johannes.schindelin@gmx.de> | |
Wed, 25 Mar 2009 16:27:28 +0000 (17:27 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 25 Mar 2009 19:12:35 +0000 (12:12 -0700) | ||
commit | 5c928c06e251b651202f94aaac56cacd3f57c484 | |
tree | 9682d6347a03a4b3b395d6d66657854a9ad9165e | tree | snapshot |
parent | 89fbda24256157cc43848488429fd20cf3bb21ab | commit | diff |
Guard a few Makefile variables against user environments
Some variables are not initialized in the Makefile, but appended to. If
the user has those variables in her environment, it will break the
build.
The variable names were found using these commands:
$ s='[ \t]';
$ S='[^ \t]';
$ comm -23 \
<(sed -n "s/^$s*\($S*\)$s$s*+=.*/\1/p" < Makefile |
sort | uniq) \
<(sed -n "s/^$s*\($S*\)$s$s*=.*/\1/p" < Makefile |
sort | uniq)
This fixes msysGit issue 216.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Some variables are not initialized in the Makefile, but appended to. If
the user has those variables in her environment, it will break the
build.
The variable names were found using these commands:
$ s='[ \t]';
$ S='[^ \t]';
$ comm -23 \
<(sed -n "s/^$s*\($S*\)$s$s*+=.*/\1/p" < Makefile |
sort | uniq) \
<(sed -n "s/^$s*\($S*\)$s$s*=.*/\1/p" < Makefile |
sort | uniq)
This fixes msysGit issue 216.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile | diff | blob | history |