]> git.pld-linux.org Git - projects/distfiles.git/commitdiff
Turn off internationalized URI (IRI) support in wget
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 30 Nov 2014 21:06:25 +0000 (22:06 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 30 Nov 2014 21:06:25 +0000 (22:06 +0100)
IRI may cause breakage as described in below thread:
http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2014-November/024120.html

file-fetcher.pl

index e5d4b6b73eebfe39a0043dc3af5aad8d0dbdf999..837feb244c66f2194a56e3cfd3baf1bbaa4ec3b7 100755 (executable)
@@ -241,9 +241,9 @@ sub fetch_file($$)
   my $all_out = "";
   my $bn = basename($url);
   my $local = "$tmp_dir/$md5/$bn";
-  my @cmd = ("wget", "-nv", "--no-check-certificate", "--user-agent=$user_agent", "-O", $local, $url);
+  my @cmd = ("wget", "-nv", "--no-iri", "--no-check-certificate", "--user-agent=$user_agent", "-O", $local, $url);
   my $cmd_joined = join(' ', @cmd);
-  my @cmd2 = ("wget",  "-nv", "--no-check-certificate", "--user-agent=$user_agent", "--passive-ftp", "-O", $local, $url);
+  my @cmd2 = ("wget",  "-nv", "--no-iri", "--no-check-certificate", "--user-agent=$user_agent", "--passive-ftp", "-O", $local, $url);
   my $cmd2_joined = join(' ', @cmd2);
 
   syslog("info","fetch_file($md5,$url)");
This page took 0.094918 seconds and 4 git commands to generate.