+ true script dir option for fetching related bash-scripts config on some quick commands

This commit is contained in:
toxa
2023-11-22 15:54:46 +03:00
parent fd7c8b9ac1
commit eb64cd702a
9 changed files with 15 additions and 12 deletions

View File

@ -1,4 +1,5 @@
#!/bin/bash
# Not working on windows symlinks
DIR="$(realpath $(dirname "$(readlink -f "$0")")/..)"
GENERAL_LOG_FILE_PATH="${DIR}/log/mariadb/mariadb.log"