aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2017-06-07 23:56:19 +0200
committerJo-Philipp Wich <jo@mein.io>2017-06-08 23:02:37 +0200
commit4053c4f0fefe6bc4bee0b65cb8a187a75267293c (patch)
treef6d379a7a5427386c044daad488e7af277afefd4
parente5db08edf7b0d10ca50073107eb05dd3d671cd55 (diff)
downloadupstream-4053c4f0fefe6bc4bee0b65cb8a187a75267293c.tar.gz
upstream-4053c4f0fefe6bc4bee0b65cb8a187a75267293c.tar.bz2
upstream-4053c4f0fefe6bc4bee0b65cb8a187a75267293c.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>
-rw-r--r--include/toplevel.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/toplevel.mk b/include/toplevel.mk
index c90670bee6..77b04aea8a 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))
# prevent perforce from messing with the patch utility