diff --git a/source.env b/source.env index a3356c1..943f711 100644 --- a/source.env +++ b/source.env @@ -1,3 +1,11 @@ -DOCKER_HOME=/opt/Docker +#!/bin/bash +# Converted the env file to a shell script so that $0 can be used. + +DIR=`dirname $0` +if [[ $DIR == \.* ]]; then + DIR=`pwd` +fi + +DOCKER_HOME=$DIR DOCKER_PATH=$DOCKER_HOME/bin PATH=$DOCKER_PATH:$PATH