From e18478fa73f5baad12c76e5482c3d75e753dbd8d Mon Sep 17 00:00:00 2001 From: "jhopkins%mozillamessaging.com" Date: Fri, 3 Jun 2011 22:26:04 +0000 Subject: [PATCH] Include the URL that wget failed to fetch in the error message. r=bear git-svn-id: svn://10.0.0.236/trunk@262363 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/tools/release/MozBuild/Util.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mozilla/tools/release/MozBuild/Util.pm b/mozilla/tools/release/MozBuild/Util.pm index 04e061081ee..9b9ab36f710 100644 --- a/mozilla/tools/release/MozBuild/Util.pm +++ b/mozilla/tools/release/MozBuild/Util.pm @@ -592,15 +592,15 @@ sub GetBuildIDFromFTP { my ($bh, $buildIDTempFile) = tempfile(UNLINK => 1); $bh->close(); + my $info_url = 'http://' . $stagingServer . '/' . $releaseDir . '/' . $os . '_info.txt'; my $rv = RunShellCommand( command => 'wget', args => ['-O', $buildIDTempFile, - 'http://' . $stagingServer . '/' . $releaseDir . '/' . - $os . '_info.txt'] + $info_url] ); if ($rv->{'timedOut'} || $rv->{'dumpedCore'} || ($rv->{'exitValue'} != 0)) { - die('wget of ' . $os . '_info.txt failed.'); + die("wget of $info_url failed."); } my $buildID;