diff --git a/systemtap-static-probes-in-ruby/runtest.sh b/systemtap-static-probes-in-ruby/runtest.sh index af0e14f..87f0bae 100755 --- a/systemtap-static-probes-in-ruby/runtest.sh +++ b/systemtap-static-probes-in-ruby/runtest.sh @@ -38,7 +38,7 @@ if [ -z "$COLLECTIONS" ]; then fi REQUIRES=${REQUIRES:-} RUBY=${RUBY:-ruby} -_STAP_FILE="`rpm -ql $PACKAGES | grep 'ruby-exercise.stp' 2>/dev/null`" +_STAP_FILE="${_STAP_FILE:-/usr/share/doc/ruby-doc/ruby-exercise.stp}" _LOG_FILE="ruby.log" _STAP_OUT="stap-out.log"