diff options
author | fche <fche> | 2005-07-14 18:39:00 +0000 |
---|---|---|
committer | fche <fche> | 2005-07-14 18:39:00 +0000 |
commit | ecfa3e8b5f0e4e63cf16fcb36f79bb4e5865afaf (patch) | |
tree | 82f4274bbc9c87d63459e384a129ca08c68279eb /buildrun.cxx | |
parent | 1b45b189806bda83b80cf34ac4c268db59970811 (diff) | |
download | systemtap-steved-ecfa3e8b5f0e4e63cf16fcb36f79bb4e5865afaf.tar.gz systemtap-steved-ecfa3e8b5f0e4e63cf16fcb36f79bb4e5865afaf.tar.xz systemtap-steved-ecfa3e8b5f0e4e63cf16fcb36f79bb4e5865afaf.zip |
2005-07-14 Frank Ch. Eigler <fche@redhat.com>
* 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.
Diffstat (limited to 'buildrun.cxx')
-rw-r--r-- | buildrun.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
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 ()); |