diff options
author | fche <fche> | 2005-10-18 17:59:17 +0000 |
---|---|---|
committer | fche <fche> | 2005-10-18 17:59:17 +0000 |
commit | ce3187ac2f3f71f348fd7d4694b49c44f42337f3 (patch) | |
tree | ae3961d2c5a2f986fdc7846b4a95b2233031a462 /buildrun.cxx | |
parent | 2508b230c643707830bfc491c1606fe6d81bc92d (diff) | |
download | systemtap-steved-ce3187ac2f3f71f348fd7d4694b49c44f42337f3.tar.gz systemtap-steved-ce3187ac2f3f71f348fd7d4694b49c44f42337f3.tar.xz systemtap-steved-ce3187ac2f3f71f348fd7d4694b49c44f42337f3.zip |
2005-10-18 Frank Ch. Eigler <fche@redhat.com>
PR 1477.
* main.cxx (main): Set PATH and LC_ALL, so
* buildrun.cxx (compile_pass, run_pass): ... and ...
* translate.cxx (emit_symbol_data): ... don't have to.
Diffstat (limited to 'buildrun.cxx')
-rw-r--r-- | buildrun.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/buildrun.cxx b/buildrun.cxx index ca3f862a..8bc0c4bf 100644 --- a/buildrun.cxx +++ b/buildrun.cxx @@ -81,7 +81,7 @@ compile_pass (systemtap_session& s) // Run make if (s.test_mode) { - string make_cmd = string("/usr/bin/make -C \"") + s.tmpdir + "\""; + string make_cmd = string("make -C \"") + s.tmpdir + "\""; if (! s.verbose) make_cmd += " -s >/dev/null 2>&1"; @@ -97,7 +97,7 @@ compile_pass (systemtap_session& s) { string module_dir = string("/lib/modules/") + s.kernel_release + "/build"; - string make_cmd = string("/usr/bin/make") + string make_cmd = string("make") + string (" -C \"") + module_dir + string("\""); make_cmd += string(" M=\"") + s.tmpdir + string("\" modules"); @@ -145,7 +145,7 @@ 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 stpd_cmd = string("sudo ") + string(PKGLIBDIR) + "/stpd " + (s.bulk_mode ? "" : "-r ") + (s.verbose ? "" : "-q "); |