diff options
-rw-r--r-- | include/toplevel.mk | 1 | ||||
-rwxr-xr-x | scripts/feeds | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/toplevel.mk b/include/toplevel.mk index 9a6013932..721d14c48 100644 --- a/include/toplevel.mk +++ b/include/toplevel.mk @@ -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 diff --git a/scripts/feeds b/scripts/feeds index b8c6825ed..2c0baa658 100755 --- a/scripts/feeds +++ b/scripts/feeds @@ -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 |