diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-08-03 13:37:57 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-08-03 13:37:57 +0530 |
commit | c76fb9b3af6ec43f2d2a83e6b4f523dcc5ac6a54 (patch) | |
tree | bb6fa8fb1312568e2697cf1e4cc807281381ffba | |
parent | f65d933845faa73a864cce17a8ccd575d8da9f10 (diff) | |
download | build-common-c76fb9b3af6ec43f2d2a83e6b4f523dcc5ac6a54.tar.gz build-common-c76fb9b3af6ec43f2d2a83e6b4f523dcc5ac6a54.tar.bz2 build-common-c76fb9b3af6ec43f2d2a83e6b4f523dcc5ac6a54.zip |
configure, make hint optional
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | talerbuildconfig.py | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -44,4 +44,4 @@ export PYTHONPATH="$scriptpath:${PYTHONPATH:-}" export TALERBUILDSYSTEMDIR=./build-system # Call configure.py, assuming all went well. -exec python3 $TALERBUILDSYSTEMDIR/configure.py "$@" +python3 $TALERBUILDSYSTEMDIR/configure.py "$@" diff --git a/talerbuildconfig.py b/talerbuildconfig.py index 832837e..2f8e40f 100644 --- a/talerbuildconfig.py +++ b/talerbuildconfig.py @@ -456,9 +456,10 @@ class NodeJsTool(Tool): return True class GenericTool(Tool): - def __init__(self, name, hint, version_arg="-v"): + def __init__(self, name, hint=None, version_arg="-v"): self.name = name - self.hint = hint + if hint is not None: + self.hint = hint self.version_arg = version_arg def args(self, parser): |