aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2017-06-07 23:56:19 +0200
committerAlexander Couzens <lynxis@fe80.eu>2017-06-08 17:20:55 +0200
commitacc5ab6b920f1f996c0b65c4fbbcab89e754d494 (patch)
tree7413037e1c0154019d03b280cd2b0e4c5fb7cdf9 /include
parent7f91cabd0d5b6e1a716d9e3fab4103730d9d2888 (diff)
downloadupstream-acc5ab6b920f1f996c0b65c4fbbcab89e754d494.tar.gz
upstream-acc5ab6b920f1f996c0b65c4fbbcab89e754d494.tar.bz2
upstream-acc5ab6b920f1f996c0b65c4fbbcab89e754d494.zip
include/toplevel: set env GIT_ASKPASS=/bin/true
When git-https request a service (e.g. github) which ask for credentials git will pass this request to the user resulting download.pl to wait for user input. Set GIT_ASKPASS to stop asking. Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Diffstat (limited to 'include')
-rw-r--r--include/toplevel.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/toplevel.mk b/include/toplevel.mk
index 5fbf5e2ea4..658eb4ce47 100644
--- a/include/toplevel.mk
+++ b/include/toplevel.mk
@@ -23,6 +23,7 @@ HOSTCC ?= $(CC)
export REVISION
export SOURCE_DATE_EPOCH
export GIT_CONFIG_PARAMETERS='core.autocrlf=false'
+export GIT_ASKPASS:=/bin/true
export MAKE_JOBSERVER=$(filter --jobserver%,$(MAKEFLAGS))
export GNU_HOST_NAME:=$(shell $(TOPDIR)/scripts/config.guess)
export HOST_OS:=$(shell uname)