]> granicus.if.org Git - zziplib/commitdiff
test: zziptests: correctly honor bindir option
authorPatrick Steinhardt <ps@pks.im>
Tue, 21 May 2019 12:26:49 +0000 (14:26 +0200)
committerPatrick Steinhardt <ps@pks.im>
Thu, 1 Aug 2019 06:31:42 +0000 (08:31 +0200)
While there is a "--bindir" option added to the option parser of
zziptests.py, we never update the global "bindir" variable to the new
value. Do so to fix it not getting honored.

test/zziptests.py

index 627d5ad22aa67b5f1d4124de3f9c9894af6d0fda..4850ccbd652ca14e9da5b61c23e95069fd2d88a7 100644 (file)
@@ -3523,6 +3523,7 @@ if __name__ == "__main__":
   opt, args = _o.parse_args()
   logging.basicConfig(level = logging.WARNING - 10 * opt.verbose)
   topsrcdir = opt.topsrcdir
+  bindir = opt.bindir
   testdatdir = opt.testdatadir
   mkzip = opt.mkzip
   unzip = opt.unzip