pygtkglext: fix test

This commit is contained in:
Dominyk Tiller 2018-03-05 18:30:28 +00:00 committed by ilovezfs
parent 293015e57c
commit 9620b77cad

View file

@ -28,7 +28,7 @@ class Pygtkglext < Formula
end
test do
ENV.append_path "PYTHONPATH", Formula["pygtk"].opt_lib+"python2.7/site-packages/gtk-2.0"
system "python", "-c", "import pygtk", "pygtk.require('2.0')", "import gtk.gtkgl"
ENV.append_path "PYTHONPATH", Formula["pygtk"].opt_lib/"python2.7/site-packages/gtk-2.0"
system "python2.7", "-c", "import pygtk", "pygtk.require('2.0')", "import gtk.gtkgl"
end
end