Skip to content

Commit 09d6a58

Browse files
authored
Merge pull request #5 from hoshsadiq/patch-1
Follow location
2 parents 69e4307 + 0e42f95 commit 09d6a58

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

install-go.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,13 +232,13 @@ sub install_go
232232

233233
if ($EXT eq 'zip')
234234
{
235-
exe(qw(curl -s -o x.zip), $url);
235+
exe(qw(curl -L -s -o x.zip), $url);
236236
exe(qw(unzip x.zip go/bin/* go/pkg/* go/src/*));
237237
unlink 'x.zip';
238238
}
239239
else
240240
{
241-
exe("curl -s \Q$url\E | tar zxf - go/bin go/pkg go/src");
241+
exe("curl -L -s \Q$url\E | tar zxf - go/bin go/pkg go/src");
242242
}
243243

244244
my $goroot_env;

0 commit comments

Comments
 (0)