1
Fork 0
ci-images/images/lua-clib/enable-lua

5 lines
254 B
Bash
Executable file

#!/bin/sh
stow -d /usr/local/stow -t /usr -S "lua$1"
# Sometimes, most often with 5.4, a build fails to install rocks claiming that this
# directory was missing/couldn't be created. Simply create it to avoid the error.
mkdir -p /usr/lib/luarocks/rock-$1