summaryrefslogtreecommitdiff
path: root/bashrc
diff options
context:
space:
mode:
authorDiego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com>2010-08-27 00:54:41 +0200
committerDiego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com>2010-08-27 00:54:41 +0200
commit499629918befab491fd934d0e36265466ae2b96f (patch)
treee7a3e73cbad019636be553e7664c8e3a88979989 /bashrc
parentReduce from 10 to 5 weeks the time-to-remerge period. (diff)
downloadflameeyes-tinderbox-499629918befab491fd934d0e36265466ae2b96f.tar.gz
flameeyes-tinderbox-499629918befab491fd934d0e36265466ae2b96f.tar.bz2
flameeyes-tinderbox-499629918befab491fd934d0e36265466ae2b96f.zip
If proxy is set, use it in bti call.
Diffstat (limited to 'bashrc')
-rwxr-xr-xbashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bashrc b/bashrc
index 7203b73..b0d88f3 100755
--- a/bashrc
+++ b/bashrc
@@ -1,7 +1,7 @@
# -*- sh -*-
dent_me() {
- echo "$@" | bti --host "${BTI_HOST}" --account "${BTI_ACCOUNT}" --password "${BTI_PASSWORD}" >/dev/null
+ echo "$@" | bti ${BTI_PROXY:+--proxy "${BTI_PROXY}"} --host "${BTI_HOST}" --account "${BTI_ACCOUNT}" --password "${BTI_PASSWORD}" >/dev/null
}
metadata_print() {