changeset 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 6e6274aa3916
files docker/libervia_cont.sh
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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
 }