aboutsummaryrefslogtreecommitdiff
path: root/tools/XBMCLive/SDK/buildWithProxy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/XBMCLive/SDK/buildWithProxy.sh')
-rwxr-xr-xtools/XBMCLive/SDK/buildWithProxy.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/XBMCLive/SDK/buildWithProxy.sh b/tools/XBMCLive/SDK/buildWithProxy.sh
new file mode 100755
index 0000000000..c753c80601
--- /dev/null
+++ b/tools/XBMCLive/SDK/buildWithProxy.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+# Using apt-cacher(-ng) to speed up apt-get downloads
+export APT_HTTP_PROXY="http://127.0.0.1:3142"
+export APT_FTP_PROXY="http://127.0.0.1:3142"
+
+# We use apt-cacher when retrieving d-i udebs, too
+export http_proxy="http://127.0.0.1:3142"
+export ftp_proxy="http://127.0.0.1:3142"
+
+./build.sh