[Git][reproducible-builds/diffoscope][master] make sure that PATH is properly mangled for all actions, not just when running the comparator

Mattia Rizzolo (@mattia) gitlab at salsa.debian.org
Mon Apr 11 07:37:36 UTC 2022



Mattia Rizzolo pushed to branch master at Reproducible Builds / diffoscope


Commits:
d06f3849 by Mattia Rizzolo at 2022-04-11T09:36:56+02:00
make sure that PATH is properly mangled for all actions, not just when running the comparator

Fixes: https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/303
Signed-off-by: Mattia Rizzolo <mattia at debian.org>

- - - - -


1 changed file:

- diffoscope/main.py


Changes:

=====================================
diffoscope/main.py
=====================================
@@ -686,7 +686,6 @@ def run_diffoscope(parsed_args):
         )
 
     configure(parsed_args)
-    set_path()
     normalize_environment()
 
     path1, path2 = parsed_args.path1, parsed_args.path2
@@ -748,6 +747,7 @@ def main(args=None):
         sys.exit(2)
 
     parsed_args = None
+    set_path()
 
     try:
         with profile("main", "parse_args"):



View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/d06f38496090daa36339e562d59a2560522ff229

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/d06f38496090daa36339e562d59a2560522ff229
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20220411/61cb0281/attachment.htm>


More information about the rb-commits mailing list