# HG changeset patch # User Mike Kinghan # Date 1245070195 -3600 # Node ID 9b92bfde63bfed985feb557849be134837ead75d # Parent 78fd19fc42a0dfa575fce97fc331825ad089b3ea 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, diff -r 78fd19fc42a0 -r 9b92bfde63bf common/tools/ats/make_junction.pl --- 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"); }