summaryrefslogtreecommitdiffstats
path: root/run-stap.in
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2009-04-01 18:11:48 -0700
committerRoland McGrath <roland@redhat.com>2009-04-01 18:11:48 -0700
commit3c960a7cfa61cbde19c0ad88045c8c1f6405ed87 (patch)
tree7ae7c883c98df7ed3173aa0c681007d73fe510a7 /run-stap.in
parent952ce18c9672046c052fc77d5da8f98e8ae75735 (diff)
downloadsystemtap-steved-3c960a7cfa61cbde19c0ad88045c8c1f6405ed87.tar.gz
systemtap-steved-3c960a7cfa61cbde19c0ad88045c8c1f6405ed87.tar.xz
systemtap-steved-3c960a7cfa61cbde19c0ad88045c8c1f6405ed87.zip
Fix sudo magic wrappers for run-stap devel script.
Diffstat (limited to 'run-stap.in')
-rw-r--r--run-stap.in6
1 files changed, 2 insertions, 4 deletions
diff --git a/run-stap.in b/run-stap.in
index dfb53ab2..f8ee9287 100644
--- a/run-stap.in
+++ b/run-stap.in
@@ -19,10 +19,8 @@ esac
# Set all the variables to find the source and build trees.
SYSTEMTAP_TAPSET="${srcdir}/tapset"
SYSTEMTAP_RUNTIME="${srcdir}/runtime"
-SYSTEMTAP_STAPIO="${builddir}/stapio"
-SYSTEMTAP_STAPRUN="sudo 'SYSTEMTAP_STAPIO=$SYSTEMTAP_STAPIO' \
- 'SYSTEMTAP_STAPRUN=${builddir}/staprun' \
- ${builddir}/staprun"
+SYSTEMTAP_STAPRUN="builddir='$builddir' ${srcdir}/run-staprun.sh"
+SYSTEMTAP_STAPIO="${srcdir}/run-stapio"
export SYSTEMTAP_TAPSET SYSTEMTAP_RUNTIME SYSTEMTAP_STAPRUN SYSTEMTAP_STAPIO
# If there were private elfutils libs built, use them.