Don't call docker-machine in hub.sh

Setting docker env should be done outside the script.
This commit is contained in:
Min RK 2016-04-25 15:31:32 +02:00
parent 11fddae0a7
commit 408e413dd8

3
hub.sh
View File

@ -18,9 +18,6 @@ for i in "$@" ; do
if [ -z ${OAUTH_CALLBACK_URL:+x} ]; then
echo "ERROR: Must set OAUTH_CALLBACK_URL environment variable"; exit 1;
fi
# Set DOCKER_HOST to daemon of target machine
DOCKER_HOST=$(docker-machine url $(docker-machine active))
fi
done