Use _STAP_FILE value directly
Hardoced to the path in ruby-doc but can be changed from envar
This commit is contained in:
parent
b658b742c0
commit
d640ff95a5
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue