[PATCH] Explicitly set X to avoid potential build breakage
- From
- Michael <kensington@astralcloak.net>
- Date
- Feb 5, 2012, 10:41 UTC
- Message-ID
- <9854382.GTBzd7D6AT@telegraph>
$X is appended to binary names for Windows builds (ie. git.exe). Pollution from the environment can inadvertently trigger this behaviour, resulting in 'git' turning into 'gitwhatever' without warning.
Signed-off-by: Michael <kensington@astralcloak.net> --- Makefile | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile index c457c34..380d96f 100644 --- a/Makefile +++ b/Makefile @@ -388,6 +388,9 @@ SCRIPT_SH = SCRIPT_LIB = TEST_PROGRAMS_NEED_X = +# Binary suffix used for Windows builds +X = + # Having this variable in your environment would break pipelines because # you cause "cd" to echo its destination to stdout. It can also take # scripts to unexpected places. If you like CDPATH, define it for your
-- 1.7.8.4