Merge branch 'master' of git.distorted.org.uk:~mdw/publish/public-git/distorted-chroo...
authorMark Wooding <mdw@distorted.org.uk>
Fri, 20 Sep 2019 16:42:46 +0000 (17:42 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 20 Sep 2019 16:42:46 +0000 (17:42 +0100)
* 'master' of git.distorted.org.uk:~mdw/publish/public-git/distorted-chroot:
  Makefile: Don't commit to `PROXY' before we know `$(APTCONF)'.

Makefile

index a2ba217..3a3d48a 100644 (file)
--- 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)