+ true script dir option for fetching related bash-scripts config on some quick commands
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
DIR="$(realpath $(dirname "$(readlink -f "$0")")/..)"
|
||||
SCRIPT_DIR="$(realpath $(dirname "$(readlink -f "$0")"))"
|
||||
|
||||
. $DIR/bash/_docker-cmd.sh || {
|
||||
. $SCRIPT_DIR/_docker-cmd.sh || {
|
||||
echo "no docker cmd is presented" && exit 1
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user