diff options
author | Bradley Sepos <[email protected]> | 2019-09-08 02:01:18 -0400 |
---|---|---|
committer | Bradley Sepos <[email protected]> | 2019-09-08 02:02:39 -0400 |
commit | 0c196175bd5563101efa8d604b3afe8bdd080ff1 (patch) | |
tree | 936d36eece9e98213a0e2b6e296f546ac2d1f7f5 /make/df-verify.py | |
parent | c3f769dbfcdce32f1d496f8daf129d8b909cf148 (diff) |
build: make: Fix df-verify where `make contrib.verify` is called directly.
Diffstat (limited to 'make/df-verify.py')
-rw-r--r-- | make/df-verify.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/make/df-verify.py b/make/df-verify.py index e37da259d..1693133df 100644 --- a/make/df-verify.py +++ b/make/df-verify.py @@ -74,7 +74,10 @@ class Tool(hb_distfile.Tool): sys.exit(0) if len(self.args) < 1: raise error('no file specified') - filename = self.args[0] + if len(self.args) > 1: + filename = self.args[1] + else: + filename = self.args[0] if self.options.sha256: error.op = 'verify' r = self._verify(filename) |