From ce3187ac2f3f71f348fd7d4694b49c44f42337f3 Mon Sep 17 00:00:00 2001 From: fche Date: Tue, 18 Oct 2005 17:59:17 +0000 Subject: 2005-10-18 Frank Ch. Eigler 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. --- buildrun.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'buildrun.cxx') 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 "); -- cgit