diff options
Diffstat (limited to 'apps/plugins/lua/action_helper.pl')
-rwxr-xr-x | apps/plugins/lua/action_helper.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugins/lua/action_helper.pl b/apps/plugins/lua/action_helper.pl index fdf45798b5..8460b6cb2a 100755 --- a/apps/plugins/lua/action_helper.pl +++ b/apps/plugins/lua/action_helper.pl | |||
@@ -18,10 +18,12 @@ | |||
18 | # | 18 | # |
19 | ############################################################################ | 19 | ############################################################################ |
20 | 20 | ||
21 | $input = "../../action.h"; | 21 | $input = $ARGV[0] . "/../../action.h"; |
22 | 22 | ||
23 | open(ACTION, "<$input") or die "Can't open $input!"; | 23 | open(ACTION, "<$input") or die "Can't open $input!"; |
24 | 24 | ||
25 | print "-- Don't change this file!\n"; | ||
26 | print "-- It is automatically generated of action.h\n"; | ||
25 | print "rb.actions = {\n"; | 27 | print "rb.actions = {\n"; |
26 | 28 | ||
27 | $i = 0; | 29 | $i = 0; |