From 4d529157c24de55bda6fa53ddaf85edd9ed87327 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Fri, 20 Sep 2019 11:11:38 +0100 Subject: [PATCH] Makefile: Don't commit to `PROXY' before we know `$(APTCONF)'. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a2ba217..3a3d48a 100644 --- a/Makefile +++ b/Makefile @@ -64,7 +64,7 @@ APTCONF = $(notdir $(wildcard etc/apt-conf.d/[0-9]*[!~])) ## Proxy setting. CONFIG_VARS += PROXY -PROXY := $(shell \ +PROXY = $(shell \ eval $$(apt-config $(foreach a,$(APTCONF),-cetc/apt-conf.d/$a) \ shell proxy Acquire::http::proxy); \ case $${proxy+t} in (t) echo "$$proxy" ;; (*) echo nil ;; esac) -- 2.11.0