aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2006-08-29 12:51:14 +0200
committerJunio C Hamano <junkio@cox.net>2006-08-29 14:26:14 -0700
commit104ff34a742672b360b1da2b7d7668a14da551c2 (patch)
treede4fd8b6a327a67325c7db8140c105078e5b9ba9 /Makefile
parentc9b0597d3d3168e29f68b0e82fa755ee165f6b72 (diff)
downloadgit-104ff34a742672b360b1da2b7d7668a14da551c2.tar.gz
git-104ff34a742672b360b1da2b7d7668a14da551c2.tar.xz
Makefile: fix typo
We checked NO_SETENV instead of NO_UNSETENV to decide if unsetenv is available. Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a60847640..05bd77f96 100644
--- a/Makefile
+++ b/Makefile
@@ -496,7 +496,7 @@ ifdef NO_SETENV
COMPAT_CFLAGS += -DNO_SETENV
COMPAT_OBJS += compat/setenv.o
endif
-ifdef NO_SETENV
+ifdef NO_UNSETENV
COMPAT_CFLAGS += -DNO_UNSETENV
COMPAT_OBJS += compat/unsetenv.o
endif