]> asedeno.scripts.mit.edu Git - git.git/commitdiff
Makefile: fix typo
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Tue, 29 Aug 2006 10:51:14 +0000 (12:51 +0200)
committerJunio C Hamano <junkio@cox.net>
Tue, 29 Aug 2006 21:26:14 +0000 (14:26 -0700)
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>
Makefile

index a6084764058d8713f2932df7f797d89b6113fd17..05bd77f967dace1440b2b8e22641c8476eeebda7 100644 (file)
--- 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