Eliminate one of the /opt/ hardcodes.

This commit is contained in:
Hyperling 2023-07-05 18:36:23 -07:00
parent d0d9ead069
commit 8c18f90af9

View File

@ -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