mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 22:59:40 +02:00
add further countermeasures against the git core.autocrlf option (fixes #9075)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31650 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
6540a914ba
commit
c589be6470
@ -24,6 +24,7 @@ export OPENWRTVERSION
|
||||
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 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
|
||||
unexport P4PORT P4USER P4CONFIG P4CLIENT
|
||||
|
@ -10,6 +10,7 @@ use Cwd 'abs_path';
|
||||
|
||||
chdir "$FindBin::Bin/..";
|
||||
$ENV{TOPDIR}=getcwd();
|
||||
$ENV{GIT_CONFIG_PARAMETERS}="'core.autocrlf=false'";
|
||||
|
||||
my $mk=`which gmake`; # select the right 'make' program
|
||||
chomp($mk); # trim trailing newline
|
||||
|
Loading…
Reference in New Issue
Block a user