summaryrefslogtreecommitdiff
path: root/media-video/aegisub/files/3.2.2_p20160518/aegisub-3.2.2_p20160518-tests_luarocks_lua_version.patch
blob: c441b8fe083b1a3757269abb581271b5535c1eee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Make sure 'luarocks path' outputs the paths for the Lua ABI version
required by aegisub, not the one used internally by luarocks.

--- a/automation/Makefile
+++ b/automation/Makefile
@@ -19,7 +19,7 @@
 PROGRAM += $(d)aegisub-lua
 
 test-automation: $(PROGRAM)
-	eval `luarocks path`; cd $(TOP)automation; ./aegisub-lua tests/busted.lua -p 'moon' tests/modules
+	eval `luarocks --lua-version 5.1 path`; cd $(TOP)automation; ./aegisub-lua tests/busted.lua -p 'moon' tests/modules
 
 test: test-automation