summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-08-03 13:37:57 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-08-03 13:37:57 +0530
commitc76fb9b3af6ec43f2d2a83e6b4f523dcc5ac6a54 (patch)
treebb6fa8fb1312568e2697cf1e4cc807281381ffba
parentf65d933845faa73a864cce17a8ccd575d8da9f10 (diff)
downloadbuild-common-c76fb9b3af6ec43f2d2a83e6b4f523dcc5ac6a54.tar.gz
build-common-c76fb9b3af6ec43f2d2a83e6b4f523dcc5ac6a54.tar.bz2
build-common-c76fb9b3af6ec43f2d2a83e6b4f523dcc5ac6a54.zip
configure, make hint optional
-rwxr-xr-xconfigure2
-rw-r--r--talerbuildconfig.py5
2 files changed, 4 insertions, 3 deletions
diff --git a/configure b/configure
index 20de9e1..5a14890 100755
--- a/configure
+++ b/configure
@@ -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):