xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Ian Jackson <ian.jackson@eu.citrix.com>
To: xen-devel@lists.xenproject.org
Cc: Ian Jackson <Ian.Jackson@eu.citrix.com>,
	Ian Campbell <ian.campbell@citrix.com>
Subject: [OSSTEST PATCH 4/4] mg-hosts mkpxedir: honour $OSSTEST_SUDO
Date: Tue, 19 Aug 2014 11:35:12 +0100	[thread overview]
Message-ID: <1408444512-1223-5-git-send-email-ian.jackson@eu.citrix.com> (raw)
In-Reply-To: <1408444512-1223-1-git-send-email-ian.jackson@eu.citrix.com>

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
---
 mg-hosts |    1 +
 1 file changed, 1 insertion(+)

diff --git a/mg-hosts b/mg-hosts
index 2643548..c49be79 100755
--- a/mg-hosts
+++ b/mg-hosts
@@ -104,6 +104,7 @@ sub l ($) { return split /,/, $_[0]; }
 
 sub cmd_mkpxedir () {
     die unless @ARGV>=1;
+    my $sudo = $ENV{'OSSTEST_SUDO'} // 'sudo';
     foreach my $hn (@ARGV) {
         my $ho= selecthost("host=$hn");
         my $macdir= $ho->{Ether};
-- 
1.7.10.4

      parent reply	other threads:[~2014-08-19 10:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-19 10:35 [PATCH 0/4] Miscellaneous minor fixes Ian Jackson
2014-08-19 10:35 ` [OSSTEST PATCH 1/4] rump kernel tests: Get upstream from rumprun-xen Ian Jackson
2014-08-19 10:35 ` [OSSTEST PATCH 2/4] sg-report-flight: New --branches-also option Ian Jackson
2014-08-19 10:35 ` [OSSTEST PATCH 3/4] Fix mg-hosts mkpxedir Ian Jackson
2014-08-19 10:35 ` Ian Jackson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1408444512-1223-5-git-send-email-ian.jackson@eu.citrix.com \
    --to=ian.jackson@eu.citrix.com \
    --cc=ian.campbell@citrix.com \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).