summaryrefslogtreecommitdiffstats
path: root/buildrun.cxx
diff options
context:
space:
mode:
authortrz <trz>2005-10-19 19:35:35 +0000
committertrz <trz>2005-10-19 19:35:35 +0000
commit08c68653dd3dc7921339dfe4627c464ef4249faa (patch)
tree39fce1e3feea2bb68ecb3dad2aad51d3f3fa601c /buildrun.cxx
parent707cb4bfb6e6e918dba16021ca0ae29671660d68 (diff)
downloadsystemtap-steved-08c68653dd3dc7921339dfe4627c464ef4249faa.tar.gz
systemtap-steved-08c68653dd3dc7921339dfe4627c464ef4249faa.tar.xz
systemtap-steved-08c68653dd3dc7921339dfe4627c464ef4249faa.zip
fixes part of PR1194 (passing -o option to stpd)
Diffstat (limited to 'buildrun.cxx')
-rw-r--r--buildrun.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildrun.cxx b/buildrun.cxx
index 8bc0c4bf..ade972be 100644
--- a/buildrun.cxx
+++ b/buildrun.cxx
@@ -148,7 +148,8 @@ run_pass (systemtap_session& s)
string stpd_cmd = string("sudo ")
+ string(PKGLIBDIR) + "/stpd "
+ (s.bulk_mode ? "" : "-r ")
- + (s.verbose ? "" : "-q ");
+ + (s.verbose ? "" : "-q ")
+ + (s.output_file.empty() ? "" : "-o " + s.output_file + " ");
if (s.cmd != "")
stpd_cmd += "-c \"" + s.cmd + "\" ";