Displaying 1 result from an estimated 1 matches for "stashleaf".
2013 Nov 01
2
[PATCH OSSTEST] ts-xen-build: make collection on xen-syms optional
...) {
my ($path) = @_;
+ 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 && !targe...