add further countermeasures against the git core.autocrlf option (fixes #9075)

SVN-Revision: 31650
This commit is contained in:
Felix Fietkau 2012-05-08 13:30:54 +00:00
parent 7fb394b9ab
commit 85f1a2c67a
2 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,7 @@ export OPENWRTVERSION
export IS_TTY=$(shell tty -s && echo 1 || echo 0) export IS_TTY=$(shell tty -s && echo 1 || echo 0)
export LD_LIBRARY_PATH:=$(if $(LD_LIBRARY_PATH),$(LD_LIBRARY_PATH):)$(STAGING_DIR_HOST)/lib export LD_LIBRARY_PATH:=$(if $(LD_LIBRARY_PATH),$(LD_LIBRARY_PATH):)$(STAGING_DIR_HOST)/lib
export DYLD_LIBRARY_PATH:=$(if $(DYLD_LIBRARY_PATH),$(DYLD_LIBRARY_PATH):)$(STAGING_DIR_HOST)/lib export DYLD_LIBRARY_PATH:=$(if $(DYLD_LIBRARY_PATH),$(DYLD_LIBRARY_PATH):)$(STAGING_DIR_HOST)/lib
export GIT_CONFIG_PARAMETERS='core.autocrlf=false'
# prevent perforce from messing with the patch utility # prevent perforce from messing with the patch utility
unexport P4PORT P4USER P4CONFIG P4CLIENT unexport P4PORT P4USER P4CONFIG P4CLIENT

View File

@ -10,6 +10,7 @@ use Cwd 'abs_path';
chdir "$FindBin::Bin/.."; chdir "$FindBin::Bin/..";
$ENV{TOPDIR}=getcwd(); $ENV{TOPDIR}=getcwd();
$ENV{GIT_CONFIG_PARAMETERS}="'core.autocrlf=false'";
my $mk=`which gmake`; # select the right 'make' program my $mk=`which gmake`; # select the right 'make' program
chomp($mk); # trim trailing newline chomp($mk); # trim trailing newline