commit 9f57341e323756c0c560bc2da750ce07358f2ceb Author: Arkadiusz MiĆkiewicz <ar...@maven.pl> Date: Mon Jun 10 22:34:32 2013 +0200
- llvm url pldnotify.awk | 5 +++++ 1 file changed, 5 insertions(+) --- diff --git a/pldnotify.awk b/pldnotify.awk index b21c31d..fb27b0c 100755 --- a/pldnotify.awk +++ b/pldnotify.awk @@ -304,6 +304,11 @@ function get_links(url,filename, errno,link,oneline,retval,odp,wholeodp,lowero d("ejabberd tarball url, mungled url to: " url) } + if (url ~/^(http|https):\/\/llvm.org\/releases\//) { + url = "http://llvm.org/releases/download.html" + d("llvm tarball url, mungled url to: " url) + } + d("Retrieving: " url) user_agent = "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2) Gecko/20100129 PLD/3.0 (Th) Iceweasel/3.6" cmd = "wget -t 2 -T 45 --user-agent \"" user_agent "\" -nv -O - \"" url "\" --passive-ftp --no-check-certificate > " tmpfile " 2> " tmpfileerr ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/9f57341e323756c0c560bc2da750ce07358f2ceb _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit