out-of-tree build: ruby
[libguestfs.git] / ruby / run-bindtests
index a78b5f6..4cac863 100755 (executable)
@@ -18,5 +18,5 @@
 
 set -e
 
-ruby -Ilib -Iext/guestfs bindtests.rb > bindtests.tmp
+ruby -I${srcdir}/lib -Iext/guestfs ${srcdir}/bindtests.rb > bindtests.tmp
 diff -u ${srcdir}/../bindtests bindtests.tmp