diff docker/libervia_cont.sh @ 96:c425b8a99a29

docker (libervia_cont): removed useless echo in get_dyn_var
author Goffi <goffi@goffi.org>
date Wed, 24 Feb 2016 20:29:30 +0100
parents 33f9610480ea
children 15e317bb602f
line wrap: on
line diff
--- a/docker/libervia_cont.sh	Wed Feb 24 20:24:05 2016 +0100
+++ b/docker/libervia_cont.sh	Wed Feb 24 20:29:30 2016 +0100
@@ -69,8 +69,8 @@
     var_type=$2
     name_upp=$(echo "$name" | tr '[:lower:]' '[:upper:]')
     case $var_type in
-        ports) eval echo $(echo "\$${name_upp}_PORTS");;
-        port_name) eval echo $(echo "\$PORT_${name_upp}_NAME");;
+        ports) eval echo "\$${name_upp}_PORTS";;
+        port_name) eval echo "\$PORT_${name_upp}_NAME";;
     esac
 }