summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmysql/mysql_backup.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/mysql/mysql_backup.sh b/mysql/mysql_backup.sh
index 3960847..1e25518 100755
--- a/mysql/mysql_backup.sh
+++ b/mysql/mysql_backup.sh
@@ -57,6 +57,7 @@ echo "Started backup of mysql databases ($(date +%c)):" | log
echo | log
# create temporary dir
+mkdir -p ${TMP_DIRECTORY}
TMP_DIR=$(mktemp -d --tmpdir=${TMP_DIRECTORY})
pushd ${TMP_DIR} >/dev/null 2>&1