chiark
/
gitweb
/
~mdw
/
distorted-chroot
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1633cd4
)
Makefile: Don't commit to `PROXY' before we know `$(APTCONF)'.
author
Mark Wooding
<mdw@distorted.org.uk>
Fri, 20 Sep 2019 10:11:38 +0000
(11:11 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Fri, 20 Sep 2019 10:11:38 +0000
(11:11 +0100)
Makefile
patch
|
blob
|
blame
|
history
diff --git
a/Makefile
b/Makefile
index a2ba217cc2a82ca77a2884f3cbb05de625168ab9..3a3d48a20962090f11a5f2d1c95ab2aedea2fb2a 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 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)
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)