aboutsummaryrefslogtreecommitdiff
path: root/databases/mysql-proxy
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2011-05-15 02:49:17 +0000
committerDoug Barton <dougb@FreeBSD.org>2011-05-15 02:49:17 +0000
commit29813d539747e58a6e3322df3f48eae4338c60b5 (patch)
treead64253796dc7d189145d9bb72dbd175c35488f4 /databases/mysql-proxy
parent47674a9024d5ae3cd9f5366e069619af12740e46 (diff)
downloadports-29813d539747e58a6e3322df3f48eae4338c60b5.tar.gz
ports-29813d539747e58a6e3322df3f48eae4338c60b5.zip
Remove painful examples of foo="", with particular prejudice against
constructions that parse out to [ -z "$foo" ] && foo="" These are bad examples that get copied and pasted into new code, so the hope is that with less bad examples there will be less need for me to bring this up in review. In a few of these files all that were changed were comments so that next time I search for these patterns I won't trip on the file for no reason. In a few places, add $FreeBSD$ No functional changes, so no PORTREVISION bumps
Notes
Notes: svn path=/head/; revision=274133
Diffstat (limited to 'databases/mysql-proxy')
-rw-r--r--databases/mysql-proxy/files/mysql-proxy.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/databases/mysql-proxy/files/mysql-proxy.in b/databases/mysql-proxy/files/mysql-proxy.in
index 79704eb9ddf5..0d904ab5d325 100644
--- a/databases/mysql-proxy/files/mysql-proxy.in
+++ b/databases/mysql-proxy/files/mysql-proxy.in
@@ -39,7 +39,7 @@ load_rc_config $name
: ${mysql_proxy_address=":4040"}
: ${mysql_proxy_backend_addresses="127.0.0.1:3306"}
: ${mysql_proxy_pid_file="/var/run/mysql-proxy.pid"}
-proxy_backend_addresses=""
+
for addr in ${mysql_proxy_backend_addresses}; do
proxy_backend_addresses="${proxy_backend_addresses} --proxy-backend-addresses=${addr}"
done