diff options
author | garret <garret@airmail.cc> | 2022-11-20 02:57:27 +0000 |
---|---|---|
committer | garret <garret@airmail.cc> | 2022-11-20 02:57:27 +0000 |
commit | 7ca48b49732e205d328946b2723036f0b5e81ed6 (patch) | |
tree | a59b5f94c36b2900374848a65ba738c4fd6c56e8 | |
parent | 1a525122f9ac9c7c27c69982c53257f42c57cd20 (diff) | |
download | depctrl-feedmaker-7ca48b49732e205d328946b2723036f0b5e81ed6.tar.gz depctrl-feedmaker-7ca48b49732e205d328946b2723036f0b5e81ed6.tar.bz2 depctrl-feedmaker-7ca48b49732e205d328946b2723036f0b5e81ed6.zip |
info getter: use the fake depctrl var
-rwxr-xr-x | get-info.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/get-info.lua b/get-info.lua index d89946c..80b3fd9 100755 --- a/get-info.lua +++ b/get-info.lua @@ -4,13 +4,11 @@ print(arg[1]) local run_macro = loadfile(arg[1]) run_macro() -local f = io.open("version", "r") -version = f:read() print(script_name) print(script_description) print(script_author) print(script_version) print(script_namespace) -print(version) +print(inspect(__feedmaker_version)) --print(inspect(_G)) |