* use full path to docker_cmd config script in bash helpers

This commit is contained in:
2023-02-04 17:47:02 +03:00
parent 7de00f8385
commit ca9f40667b
7 changed files with 27 additions and 17 deletions

View File

@ -1,5 +1,7 @@
#!/bin/bash
. ./_docker-cmd.sh || {
DIR="$(realpath $(dirname "$(readlink -f "$0")")/..)"
. $DIR/bash/_docker-cmd.sh || {
echo "no docker cmd is presented" && exit 1
}

View File

@ -1,5 +1,7 @@
#!/bin/bash
. ./_docker-cmd.sh || {
DIR="$(realpath $(dirname "$(readlink -f "$0")")/..)"
. $DIR/bash/_docker-cmd.sh || {
echo "no docker cmd is presented" && exit 1
}

View File

@ -1,5 +1,7 @@
#!/bin/bash
. ./_docker-cmd.sh || {
DIR="$(realpath $(dirname "$(readlink -f "$0")")/..)"
. $DIR/bash/_docker-cmd.sh || {
echo "no docker cmd is presented" && exit 1
}

View File

@ -1,5 +1,7 @@
#!/bin/bash
. ./_docker-cmd.sh || {
DIR="$(realpath $(dirname "$(readlink -f "$0")")/..)"
. $DIR/bash/_docker-cmd.sh || {
echo "no docker cmd is presented" && exit 1
}

View File

@ -1,5 +1,7 @@
#!/bin/bash
. ./_docker-cmd.sh || {
DIR="$(realpath $(dirname "$(readlink -f "$0")")/..)"
. $DIR/bash/_docker-cmd.sh || {
echo "no docker cmd is presented" && exit 1
}