Add tor and torsock version in plain files

Now:
 - `make build` will build the container with tor version set in `current_tor_version` and `current_torsock_version`
 - `make update_tor_version` will update theses files
This commit is contained in:
Chirstophe Mehay 2021-02-13 20:55:38 +01:00 committed by Christophe Mehay
parent 1dcec5c580
commit 7ab49bfde4
4 changed files with 15 additions and 4 deletions

View file

@ -198,7 +198,8 @@ class Setup(object):
for reg, call in match_map:
for key, val in os.environ.items():
m = match(reg, key)
# Ignore GPG_KEY env variable to avoid warning (this is a deprecated setup)
# Ignore GPG_KEY env variable to avoid warning
# (this is a deprecated setup)
if m and key != 'GPG_KEY':
try:
call(m.groups()[0].lower(), val)