gtk-engines: fix test

This commit is contained in:
Jack Nagel 2013-03-26 12:54:37 -05:00
parent 4d719d2698
commit 656f5f9f7b

View file

@ -17,9 +17,10 @@ class GtkEngines < Formula
system "make install"
end
def test
system "/bin/sh", "-c", "GTK2_RC_FILES=#{share}/themes/Clearlooks/gtk-2.0/gtkrc " \
"GTK_PATH=#{HOMEBREW_PREFIX}/lib/gtk-2.0 " "#{HOMEBREW_PREFIX}/bin/gtk-demo"
test do
ENV['GTK2_RC_FILES'] = "#{share}/themes/Clearlooks/gtk-2.0/gtkrc"
ENV['GTK_PATH'] = "#{HOMEBREW_PREFIX}/lib/gtk-2.0"
system "#{HOMEBREW_PREFIX}/bin/gtk-demo"
end
def caveats; <<-EOS.undent