Permalink
Browse files

fixed replacing underscores

  • Loading branch information...
sangwonl committed Mar 21, 2017
1 parent 734b63a commit 139df964c0699350d6220f8e55928bc385104141
Showing with 1 addition and 1 deletion.
  1. +1 −1 base/entrypoint.sh
View
@@ -23,7 +23,7 @@ function configure() {
echo "Configuring $module"
for c in `printenv | perl -sne 'print "$1 " if m/^${envPrefix}_(.+?)=.*/' -- -envPrefix=$envPrefix`; do
name=`echo ${c} | perl -pe 's/___/-/g; s/__/_/g; s/_/./g'`
name=`echo ${c} | perl -pe 's/___/-/g; s/__/@/g; s/_/./g; s/@/_/g;'`
var="${envPrefix}_${c}"
value=${!var}
echo " - Setting $name=$value"

0 comments on commit 139df96

Please sign in to comment.