aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-05-08 15:35:27 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-05-08 15:35:27 +0000
commit353070af37ef7e0db1cd4d2fd44b939094799f21 (patch)
tree644837bb65407e9a8561f1bd65c95223d3820180 /include
parent4ac120b048db87ce8ecba641c106e75d2eda65c3 (diff)
downloadupstream-353070af37ef7e0db1cd4d2fd44b939094799f21.tar.gz
upstream-353070af37ef7e0db1cd4d2fd44b939094799f21.tar.bz2
upstream-353070af37ef7e0db1cd4d2fd44b939094799f21.zip
use unexport instead of export to clear perforce variables
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15708 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r--include/toplevel.mk5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/toplevel.mk b/include/toplevel.mk
index 2ee1518b8a..78a03d877f 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=