[Rpm-maint] [rpm-software-management/rpm] rpm --eval "%{lua:rpm.interactive()}" does not immediately print the output (#1215)
Miro Hrončok
notifications at github.com
Thu Jun 4 10:41:36 UTC 2020
My script doesn't seem to see system defined macros. Do I need to call something explicitly to load them?
```
$ rpmlua
RPM Interactive Lua 5.3 Interpreter
> print(rpm.expand("%python3"))
%python3
> rpm.define("test b")
> print(rpm.expand("%test"))
b
>
$ rpm --eval "%{lua:rpm.interactive()}"
RPM Interactive Lua 5.3 Interpreter
> print(rpm.expand("%python3"))
>
/usr/bin/python3
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1215#issuecomment-638770015
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200604/9ff740f1/attachment.html>
More information about the Rpm-maint
mailing list