From d212c87f0ae73f000238930cbf938c23f53463e0 Mon Sep 17 00:00:00 2001 From: Hunter Haugen Date: Wed, 26 Sep 2012 13:40:42 -0700 Subject: [PATCH] Tweak template spacing to pass spec tests with clean output --- templates/mysqlbackup.sh.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/mysqlbackup.sh.erb b/templates/mysqlbackup.sh.erb index e7cc624..b75ee4a 100644 --- a/templates/mysqlbackup.sh.erb +++ b/templates/mysqlbackup.sh.erb @@ -19,5 +19,5 @@ PATH=/usr/bin:/usr/sbin:/bin:/sbin find $DIR -mtime +30 -exec rm -f {} \; mysqldump -u${USER} -p${PASS} --opt --flush-logs --single-transaction \ - --all-databases <% if backupcompress %> | bzcat -zc <% end %> > ${DIR}/mysql_backup_`date +%Y%m%d-%H%M%S`.sql<% if backupcompress %>.bz2<% end %> + --all-databases <% if backupcompress %>| bzcat -zc <% end %>> ${DIR}/mysql_backup_`date +%Y%m%d-%H%M%S`.sql<% if backupcompress %>.bz2<% end %>