diff options
author | Dave Brolley <brolley@redhat.com> | 2009-01-13 16:19:53 -0500 |
---|---|---|
committer | Dave Brolley <brolley@redhat.com> | 2009-01-13 16:19:53 -0500 |
commit | 21325e0c78f4de1e772813c8f071d909d83e1b58 (patch) | |
tree | f37745871b66343986890725829fb8df5f7b4fee /stap-server | |
parent | 790c4dd6eff3fbc127b67e23478d7edc6bf1cd08 (diff) | |
download | systemtap-steved-21325e0c78f4de1e772813c8f071d909d83e1b58.tar.gz systemtap-steved-21325e0c78f4de1e772813c8f071d909d83e1b58.tar.xz systemtap-steved-21325e0c78f4de1e772813c8f071d909d83e1b58.zip |
Ensure that the client/server scripts call the installed copies of any
other systemtap tools.
Diffstat (limited to 'stap-server')
-rwxr-xr-x | stap-server | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/stap-server b/stap-server index 857a9025..4f1ccf9b 100755 --- a/stap-server +++ b/stap-server @@ -36,6 +36,10 @@ function initialization { p_phase=5 keep_temps=0 + # Where are we installed? + exec_prefix=`dirname $0` + exec_prefix=`cd $exec_prefix && pwd` + # Request file name. zip_client=$1 test -f $zip_client || \ @@ -312,7 +316,7 @@ function call_stap { server_p_phase=$p_phase fi - eval stap "$cmdline" -k -p $server_p_phase \ + eval $exec_prefix/stap "$cmdline" -k -p $server_p_phase \ >> $tmpdir_server/stdout \ 2>> $tmpdir_server/stderr |