summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-05-08 15:35:27 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-05-08 15:35:27 +0000
commit0b5ca8f58846d95f9a19fa2520ba2b29d7c5477c (patch)
tree644837bb65407e9a8561f1bd65c95223d3820180
parent9b214c8ef36c5909007d279d63028bfe042c7088 (diff)
use unexport instead of export to clear perforce variables
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15708 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--include/toplevel.mk5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/toplevel.mk b/include/toplevel.mk
index 2ee1518b8..78a03d877 100644
--- a/include/toplevel.mk
+++ b/include/toplevel.mk
@@ -27,10 +27,7 @@ export LD_LIBRARY_PATH:=$(if $(LD_LIBRARY_PATH),$(LD_LIBRARY_PATH):)$(STAGING_DI
export DYLD_LIBRARY_PATH:=$(if $(DYLD_LIBRARY_PATH),$(DYLD_LIBRARY_PATH):)$(STAGING_DIR_HOST)/lib
# prevent perforce from messing with the patch utility
-export P4PORT=
-export P4USER=
-export P4CONFIG=
-export P4CLIENT=
+unexport P4PORT P4USER P4CONFIG P4CLIENT
# make sure that a predefined CFLAGS variable does not disturb packages
export CFLAGS=