Applied the /accepteula option to all calls to junction so that it will never stall a build waiting for the user to accept the EULA,
--- a/common/tools/ats/make_junction.pl Mon Jun 15 08:09:21 2009 +0100
+++ b/common/tools/ats/make_junction.pl Mon Jun 15 13:49:55 2009 +0100
@@ -46,7 +46,7 @@
usage_error(), unless (defined($link) && defined($target));
-my $junction_help = `junction /?`;
+my $junction_help = `junction /accepteula /?`;
die("Need command \"junction\". Not found\n"), if ($junction_help =~ /is not recognised/);
die("Directory \"$target\" not found\n"), unless -d "$target";
@@ -82,7 +82,7 @@
$force = $choice eq 'y';
}
if ($force) {
- system("junction -d \"$link\" > nul");
+ system("junction /accepteula -d \"$link\" > nul");
if ($?) {
die("Cannot delete \"$link\": $!\n");
}
@@ -92,7 +92,7 @@
}
}
-system("junction \"$link\" \"$target\" > nul");
+system("junction /accepteula \"$link\" \"$target\" > nul");
if ($?) {
die("Cannot cteate junction \"$link\" -> \"$target\": $!\n");
}