|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH v2 2/4] BuildSupport: Honour $buildcmd_global_prefix
This will make life more convenient in a moment.
Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
---
Osstest/BuildSupport.pm | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Osstest/BuildSupport.pm b/Osstest/BuildSupport.pm
index 7e114cf..4c2b658 100644
--- a/Osstest/BuildSupport.pm
+++ b/Osstest/BuildSupport.pm
@@ -38,6 +38,7 @@ BEGIN {
builddirsprops
buildcmd_stamped_logged
$builddir $makeflags
+ $buildcmd_global_prefix
prepbuilddirs
@@ -57,10 +58,13 @@ our ($whhost,$ho);
our ($builddir,$makeflags);
our ($xendist);
+our $buildcmd_global_prefix //= '';
+
sub buildcmd_stamped_logged ($$$$$$) {
my ($timeout, $component, $stampname, $prefix, $cmd, $suffix) = @_;
target_cmd_build($ho, $timeout, $builddir, <<END);
cd $component
+ $buildcmd_global_prefix
$prefix
( $cmd 2>&1 && touch ../$stampname-ok-stamp
) |tee ../$stampname-log
--
2.1.4
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |