Resolve SC2162: 'read without -r mangles backslashes'

More information:

https://github.com/koalaman/shellcheck/wiki/SC2162

http://wiki.bash-hackers.org/commands/builtin/read
This commit is contained in:
Dan Callahan committed 2015-11-04 20:40:42 -06:00
1 parent e1e7fbcc52
commit c389b213b5
12 files changed
+15 -15

No files matched your search

+1 -1
View File
@@ -233,7 +233,7 @@ EOF
local NGINX_SSL_PORT=$DOKKU_NGINX_SSL_PORT
fi
while read line; do
while read -r line; do
[[ -z "$line" ]] && continue
dokku_log_info1 "Configuring SSL for $line..."
SSL_SERVER_NAME=$line