summaryrefslogtreecommitdiffstats
path: root/stap-server
diff options
context:
space:
mode:
Diffstat (limited to 'stap-server')
-rwxr-xr-xstap-server4
1 files changed, 2 insertions, 2 deletions
diff --git a/stap-server b/stap-server
index 9e30a121..d1731895 100755
--- a/stap-server
+++ b/stap-server
@@ -17,7 +17,7 @@
trap 'terminate' SIGTERM SIGINT
# Initialize the environment
-. `dirname $0`/stap-env
+. ${PKGLIBEXECDIR}stap-env
#-----------------------------------------------------------------------------
# Helper functions.
@@ -432,7 +432,7 @@ function create_response {
if test $unprivileged = 1 -a $p_phase -ge 4 -a $stap_rc = 0; then
modname=$tmpdir_stap/`grep -m1 '^.*\.ko$' stdout`
if test "X$modname" != "X"; then
- ${stap_exec_prefix}stap-sign-module $modname $ssl_db
+ ${stap_pkglibexecdir}stap-sign-module $modname $ssl_db
fi
fi
fi