Displaying 1 result from an estimated 1 matches for "target_getfile".
2013 Nov 01
2
[PATCH OSSTEST] ts-xen-build: make collection on xen-syms optional
...h_file ($$$$;$) {
+    my ($ho, $builddir, $item, $fname, $optional) = @_;
     my $build= "build";
     my $stashleaf= "$build/$item";
+
+    return if $optional && !target_file_exists($ho, "$builddir/$fname");
+
     ensuredir("$stash/$build");
     target_getfile($ho, 300,
                    "$builddir/$fname",
diff --git a/ts-xen-build b/ts-xen-build
index 5f544df..ebb7d6f 100755
--- a/ts-xen-build
+++ b/ts-xen-build
@@ -198,7 +198,7 @@ sub stash () {
                     "xen-unstable/dist/${part}install",
                     "$...