Variable creation issue.
I've tested project.py with goodproject.bundle:
% python3 -m bundler.project test/goodproject.bundle
General:
...
Environment:
=PATH=/usr/bin:/bin
=PKG_CONFIG_PATH=${env:PREFIX}/lib/pkgconfig
...
The print line is:
print(" %s=%s" % (variable.name, variable.value))
Thus, for instance, let's take the first one, name
is empty and value
is PATH=/usr/bin:/bin
.
The creation instructions are:
def __init__(self, node):
self.name = node.getAttribute("name")
self.value = utils.node_get_string(node)
Is it correct?
Side question: what are <runtime-variable>
and <script>
for?
Edited by Ghost User