bug
This commit is contained in:
parent
ada594a30b
commit
bc1a740f35
|
@ -12,7 +12,14 @@ if [ -n "$UTOOLS_DOCKER_ALIASES" ]; then
|
|||
local machine="$2"; shift; shift
|
||||
machine="$(
|
||||
CLUSTERDIRS=()
|
||||
DM_ALIASES=()
|
||||
source ~/etc/default/dk
|
||||
for alias_machine in "${DM_ALIASES[@]}"; do
|
||||
if [ "${alias_machine%%:*}" == "$machine" ]; then
|
||||
echo "${alias_machine#*:}"
|
||||
exit
|
||||
fi
|
||||
done
|
||||
for clusterdir in "${CLUSTERDIRS[@]}"; do
|
||||
if [ -f "$clusterdir/0config/configure.conf" ]; then
|
||||
DM_ALIASES=()
|
||||
|
|
Loading…
Reference in New Issue