summaryrefslogtreecommitdiffstats
path: root/stap-find-or-start-server
diff options
context:
space:
mode:
authorTim Moore <timoore@redhat.com>2009-12-23 09:14:02 +0100
committerTim Moore <timoore@redhat.com>2009-12-23 09:14:02 +0100
commit69ce6c79dbcb2cec2d1245935ef20bf832ffe70a (patch)
tree0b6aea71ef4f3ca5c797494d062819bfba63e7f7 /stap-find-or-start-server
parent72195f6b17c0ed2e508c58bf3cadd5b9dc4e28ac (diff)
parent0ee3adb42f2f6d8bffe177e77a415b3a74f3a777 (diff)
downloadsystemtap-steved-69ce6c79dbcb2cec2d1245935ef20bf832ffe70a.tar.gz
systemtap-steved-69ce6c79dbcb2cec2d1245935ef20bf832ffe70a.tar.xz
systemtap-steved-69ce6c79dbcb2cec2d1245935ef20bf832ffe70a.zip
Merge remote branch 'origin/master'
Diffstat (limited to 'stap-find-or-start-server')
-rwxr-xr-xstap-find-or-start-server6
1 files changed, 3 insertions, 3 deletions
diff --git a/stap-find-or-start-server b/stap-find-or-start-server
index a93b21fe..a9a4cde0 100755
--- a/stap-find-or-start-server
+++ b/stap-find-or-start-server
@@ -18,13 +18,13 @@
# Otherwise, it echoes -1
# Initialize the environment
-. `dirname $0`/stap-env
+. ${PKGLIBEXECDIR}stap-env
# Is there a server available?
-${stap_exec_prefix}stap-find-servers >/dev/null 2>&1 && echo 0 && exit 0
+${stap_pkglibexecdir}stap-find-servers >/dev/null 2>&1 && echo 0 && exit 0
# No server available, try to start one.
-pid=`${stap_exec_prefix}stap-start-server "$@"`
+pid=`${stap_pkglibexecdir}stap-start-server "$@"`
if test $? = 0; then
echo $pid
exit 0