summaryrefslogtreecommitdiff
path: root/apps/plugins/lua/action_helper.pl
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lua/action_helper.pl')
-rwxr-xr-xapps/plugins/lua/action_helper.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugins/lua/action_helper.pl b/apps/plugins/lua/action_helper.pl
index fdf4579..8460b6c 100755
--- a/apps/plugins/lua/action_helper.pl
+++ b/apps/plugins/lua/action_helper.pl
@@ -18,10 +18,12 @@
#
############################################################################
-$input = "../../action.h";
+$input = $ARGV[0] . "/../../action.h";
open(ACTION, "<$input") or die "Can't open $input!";
+print "-- Don't change this file!\n";
+print "-- It is automatically generated of action.h\n";
print "rb.actions = {\n";
$i = 0;