From ecfa3e8b5f0e4e63cf16fcb36f79bb4e5865afaf Mon Sep 17 00:00:00 2001 From: fche Date: Thu, 14 Jul 2005 18:39:00 +0000 Subject: 2005-07-14 Frank Ch. Eigler * Makefile.am (stpd): Install in $pkglibdir. (runtime): Copy to $pkgdatadir. * configure.ac: Pass along pkgdatadir and pkglibdir. * main.cxx: Default runtime_path from pkgdatadir. * buildrun.cxx (run_pass): Correct stpd directory. * Makefile.in, configure, config.in: Regenerated. --- buildrun.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'buildrun.cxx') diff --git a/buildrun.cxx b/buildrun.cxx index 2ec5e03c..e1663d6e 100644 --- a/buildrun.cxx +++ b/buildrun.cxx @@ -70,8 +70,10 @@ run_pass (systemtap_session& s) sighandler_t oldsig = signal (SIGINT, SIG_IGN); // for now, just spawn stpd - string stpd_cmd = string("/usr/bin/sudo ") + - string(LIBEXECDIR) + "/stpd " + s.tmpdir + "/" + s.module_name + ".ko"; + string stpd_cmd = string("/usr/bin/sudo ") + + string(PKGLIBDIR) + "/stpd " + + (s.verbose ? "" : "-q ") + + s.tmpdir + "/" + s.module_name + ".ko"; if (s.verbose) clog << "Running " << stpd_cmd << endl; int rc = system (stpd_cmd.c_str ()); -- cgit