#!/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