Displaying 1 result from an estimated 1 matches for "built_stash_fil".
Did you mean:
built_stash_file
2013 Nov 01
2
[PATCH OSSTEST] ts-xen-build: make collection on xen-syms optional
...@_;
+ return unless -e "$stash/$path";
my $r= system ''gzip'',''-9vf'',''--'',"$stash/$path";
die "$r $!" if $r;
}
@@ -1051,10 +1052,13 @@ END
store_runvar("path_$item", $stashleaf);
}
-sub built_stash_file ($$$$) {
- my ($ho, $builddir, $item, $fname) = @_;
+sub built_stash_file ($$$$;$) {
+ my ($ho, $builddir, $item, $fname, $optional) = @_;
my $build= "build";
my $stashleaf= "$build/$item";
+
+ return if $optional && !target_file_exists($ho, "$bu...