use unexport instead of export to clear perforce variables

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15708 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2009-05-08 15:35:27 +00:00
parent 4ac120b048
commit 353070af37
1 changed files with 1 additions and 4 deletions

View File

@ -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=