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
|
local machine="$2"; shift; shift
|
||||||
machine="$(
|
machine="$(
|
||||||
CLUSTERDIRS=()
|
CLUSTERDIRS=()
|
||||||
|
DM_ALIASES=()
|
||||||
source ~/etc/default/dk
|
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
|
for clusterdir in "${CLUSTERDIRS[@]}"; do
|
||||||
if [ -f "$clusterdir/0config/configure.conf" ]; then
|
if [ -f "$clusterdir/0config/configure.conf" ]; then
|
||||||
DM_ALIASES=()
|
DM_ALIASES=()
|
||||||
|
|
Loading…
Reference in New Issue