summaryrefslogtreecommitdiffstats
path: root/mysql
diff options
context:
space:
mode:
Diffstat (limited to 'mysql')
-rwxr-xr-xmysql/mysql_backup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql/mysql_backup.sh b/mysql/mysql_backup.sh
index 6ce5281..5c73da0 100755
--- a/mysql/mysql_backup.sh
+++ b/mysql/mysql_backup.sh
@@ -32,7 +32,7 @@ LOGGING="0"
## end of configuration
# load common stuff
-BACKUP_ROOT=".."
+BACKUP_ROOT="$(dirname $0)/.."
source ${BACKUP_ROOT}/common/init.sh
# check for tools