Skip to content
Snippets Groups Projects
Commit f84e6d98 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

MAINT: there were MYSQLDUMP_CMD and CMD_MYSQL_DUMP; remove one

parent b2da1f54
Branches
Tags
No related merge requests found
......@@ -46,7 +46,7 @@ function backup {
failure "dumpfile already exists."
fi
echo "Dumping database $NARG_NAME to $NARG_FILE ... "
$CMD_MYSQL_DUMP $MYSQL_CONNECTION_NO_DB $* --opt --default-character-set=utf8 --routines $NARG_NAME > $NARG_FILE
$MYSQLDUMP_CMD $MYSQL_CONNECTION_NO_DB $* --opt --default-character-set=utf8 --routines $NARG_NAME > $NARG_FILE
success
}
......
......@@ -22,7 +22,6 @@
# ** end header
#
#header for patch scripts
CMD_MYSQL_DUMP=mysqldump
USAGE="$1 [ --env=ENV_FILE ] [ --patch=PATCH ] [ --backupdir=BACKUPDIR ]\n\n"
CMD_OPTIONS=cat <<EOF
options:
......@@ -160,7 +159,7 @@ function update_version {
}
function dump_table {
$CMD_MYSQL_DUMP $MYSQL_CONNECTION_NO_DB $DATABASE_NAME $1 \
$MYSQLDUMP_CMD $MYSQL_CONNECTION_NO_DB $DATABASE_NAME $1 \
> ${DATABASE_NAME}.${1}.${OLD_VERSION}.dump.sql
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment