Permalink
Browse files

[BUG] [Critical] Removing extra space after slash

This extra space was breaking the backup script when running with
`backupdatabases`
  • Loading branch information...
1 parent ec1cc59 commit 3d4a153797e8f3929b9592b74dbbc11c5af6f73e @seocam seocam committed Mar 10, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 templates/mysqlbackup.sh.erb
@@ -53,7 +53,7 @@ mysqldump -u${USER} -p${PASS} --opt --flush-logs --single-transaction \
<% end -%>
<% else -%>
<% @backupdatabases.each do |db| -%>
-mysqldump -u${USER} -p${PASS} --opt --flush-logs --single-transaction \
+mysqldump -u${USER} -p${PASS} --opt --flush-logs --single-transaction \
${EVENTS} \
<%= db %><% if @backupcompress %>| bzcat -zc <% end %>> ${DIR}/${PREFIX}<%= db %>_`date +%Y%m%d-%H%M%S`.sql<% if @backupcompress %>.bz2<% end %>
<% end -%>

0 comments on commit 3d4a153

Please sign in to comment.