summaryrefslogtreecommitdiffstats
path: root/run-stap.in
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2009-04-01 19:41:55 -0700
committerJosh Stone <jistone@redhat.com>2009-04-01 19:41:55 -0700
commit65ffc3f32328473cb74aa5c7eca7e46bb82bd7fb (patch)
tree837cf08f146cf5230b9b8f84081efb4e6d0557ae /run-stap.in
parent5717eaeb49421506ed323f8473790aaf74389237 (diff)
downloadsystemtap-steved-65ffc3f32328473cb74aa5c7eca7e46bb82bd7fb.tar.gz
systemtap-steved-65ffc3f32328473cb74aa5c7eca7e46bb82bd7fb.tar.xz
systemtap-steved-65ffc3f32328473cb74aa5c7eca7e46bb82bd7fb.zip
Fix the magic run-stap wrappers even more
Diffstat (limited to 'run-stap.in')
-rw-r--r--run-stap.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/run-stap.in b/run-stap.in
index f8ee9287..1bfb6a77 100644
--- a/run-stap.in
+++ b/run-stap.in
@@ -19,9 +19,8 @@ esac
# Set all the variables to find the source and build trees.
SYSTEMTAP_TAPSET="${srcdir}/tapset"
SYSTEMTAP_RUNTIME="${srcdir}/runtime"
-SYSTEMTAP_STAPRUN="builddir='$builddir' ${srcdir}/run-staprun.sh"
-SYSTEMTAP_STAPIO="${srcdir}/run-stapio"
-export SYSTEMTAP_TAPSET SYSTEMTAP_RUNTIME SYSTEMTAP_STAPRUN SYSTEMTAP_STAPIO
+SYSTEMTAP_STAPRUN="sudo -P builddir='${builddir}' ${builddir}/run-staprun"
+export SYSTEMTAP_TAPSET SYSTEMTAP_RUNTIME SYSTEMTAP_STAPRUN
# If there were private elfutils libs built, use them.
if [ -d "$rundir/lib-elfutils" ]; then