[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH 03/16] BuildSupport: builddirsprops: Clean up each builddir
This makes prepbuilddirs work if it is run a second time for the same builddirs, which is useful for ad-hoc testing. Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> --- Osstest/BuildSupport.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Osstest/BuildSupport.pm b/Osstest/BuildSupport.pm index d005ca9..7e114cf 100644 --- a/Osstest/BuildSupport.pm +++ b/Osstest/BuildSupport.pm @@ -91,7 +91,8 @@ sub builddirsprops { sub prepbuilddirs { my (@xbuilddirs) = @_; my $cmd = "mkdir -p $builddir && rm -rf $builddir/*-stamp $builddir/dist"; - $cmd .= " && mkdir $builddir/$_" foreach @xbuilddirs; + $cmd .= " && rm -rf $builddir/$_ && mkdir $builddir/$_" + foreach @xbuilddirs; target_cmd($ho,$cmd,600); } -- 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 |