diff options
author | Paweł Zuzelski <pawelz@pld-linux.org> | 2009-08-21 11:57:02 +0200 |
---|---|---|
committer | Paweł Zuzelski <pawelz@pld-linux.org> | 2009-08-21 11:57:02 +0200 |
commit | d65956b40cb3b4c1ba21b54d2e5184d67c27cbe9 (patch) | |
tree | b4292ea460ba1d0a8dabbec5bd472663da6b2f32 /examples | |
parent | fa4f3430215808ae4f9af78f00869e9a96b244ef (diff) |
Pass proxy_url to download handler
Pass the value of proxy_url variable as optional 9th argument of download
handler.
Added support for http proxy to the example download handler script.
Updated README file.
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/data/uzbl/scripts/download.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/data/uzbl/scripts/download.sh b/examples/data/uzbl/scripts/download.sh index aa1ca09..c8eb6ba 100755 --- a/examples/data/uzbl/scripts/download.sh +++ b/examples/data/uzbl/scripts/download.sh @@ -8,6 +8,9 @@ GET="wget --user-agent=Firefox" dest="$HOME" url="$8" +http_proxy="$9" +export http_proxy + test "x$url" = "x" && { echo "you must supply a url! ($url)"; exit 1; } # only changes the dir for the $get sub process |