luarocks: scope patch to stable

Closes Homebrew/homebrew#30503.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Alexander Surma 2014-06-27 15:10:35 -07:00 committed by Jack Nagel
parent fc046308fa
commit 9b6aeb200f

View file

@ -29,7 +29,9 @@ class Luarocks < Formula
# appropriate messaging if not. The check that luarocks does has been
# seen to have false positives, so remove it.
# TODO: better document the false positive cases, or remove this patch.
patch :DATA
stable do
patch :DATA
end
def install
# Install to the Cellar, but direct modules to HOMEBREW_PREFIX