From 92d6e15a76e689e62662b821ee8eba111b83d768 Mon Sep 17 00:00:00 2001 From: Sam Saffron Date: Wed, 15 Jan 2014 16:48:20 -0800 Subject: [PATCH] eval is evil, unconditionally evil, can not allow it, searching for another solution --- launcher | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/launcher b/launcher index c43f41c..d35ab09 100755 --- a/launcher +++ b/launcher @@ -135,7 +135,7 @@ case "$command" in fi run_command="$run_command /pups/bin/pups --stdin" - (exec echo "$input" | eval docker run $env -e DOCKER_HOST_IP=$docker_ip -cidfile $cidbootstrap -i -a stdin -a stdout -a stderr $volumes $image \ + (exec echo "$input" | docker run $env -e DOCKER_HOST_IP=$docker_ip -cidfile $cidbootstrap -i -a stdin -a stdout -a stderr $volumes $image \ /bin/bash -c "$run_command") \ || (docker rm `cat $cidbootstrap` && rm $cidbootstrap) @@ -205,7 +205,7 @@ case "$command" in exit 1 fi - eval docker run $env -e DOCKER_HOST_IP=$docker_ip -name $config -cidfile $cidfile $ports \ + docker run $env -e DOCKER_HOST_IP=$docker_ip -name $config -cidfile $cidfile $ports \ -d $volumes $local_discourse/$config /usr/bin/runsvdir -P /etc/service exit 0 -- 2.25.1