diff -Nru automysqlbackup-2.6+debian.4/debian/changelog automysqlbackup-2.6+debian.4/debian/changelog --- automysqlbackup-2.6+debian.4/debian/changelog 2014-07-23 08:21:08.000000000 +0000 +++ automysqlbackup-2.6+debian.4/debian/changelog 2018-09-21 11:13:00.000000000 +0000 @@ -1,3 +1,10 @@ +automysqlbackup (2.6+debian.4-2) unstable; urgency=medium + + * Fix "monthly backup fails with line 427", thanks to Sergi Baila for + reporting (Closes: #889064). + + -- Thomas Goirand Fri, 21 Sep 2018 13:13:00 +0200 + automysqlbackup (2.6+debian.4-1) unstable; urgency=medium * New upstream release: diff -Nru automysqlbackup-2.6+debian.4/debian/patches/fix-too-many-argument.patch automysqlbackup-2.6+debian.4/debian/patches/fix-too-many-argument.patch --- automysqlbackup-2.6+debian.4/debian/patches/fix-too-many-argument.patch 1970-01-01 00:00:00.000000000 +0000 +++ automysqlbackup-2.6+debian.4/debian/patches/fix-too-many-argument.patch 2018-09-21 11:12:55.000000000 +0000 @@ -0,0 +1,17 @@ +Description: Fix monthly backup fails with line 427: [: too many arguments +Author: Thomas Goirand +Bug-Debian: https://bugs.debian.org/889064 +Forwarded: no +Last-Update: 2018-09-21 + +--- automysqlbackup-2.6+debian.4.orig/automysqlbackup ++++ automysqlbackup-2.6+debian.4/automysqlbackup +@@ -424,7 +424,7 @@ exec 2> $LOGERR # stderr replaced wi + dbdump () { + touch $2 + chmod 600 $2 +- if [ $1 = "information_schema" ] ; then ++ if [ "$1" = "information_schema" ] ; then + NEWOPT="--skip-opt ${OPT}" + else + NEWOPT="--opt $OPT" diff -Nru automysqlbackup-2.6+debian.4/debian/patches/series automysqlbackup-2.6+debian.4/debian/patches/series --- automysqlbackup-2.6+debian.4/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ automysqlbackup-2.6+debian.4/debian/patches/series 2018-09-21 11:12:19.000000000 +0000 @@ -0,0 +1 @@ +fix-too-many-argument.patch