Skip to content

Commit 6ecccdc

Browse files
committed
Fix template code
1 parent af65712 commit 6ecccdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/mysqlbackup.sh.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ cleanup
8484
<% if @excludedatabases.empty? -%>
8585
mysql --defaults-extra-file=$TMPFILE -s -r -N -e 'SHOW DATABASES' | while read dbname
8686
<% else -%>
87-
mysql --defaults-extra-file=$TMPFILE -s -r -N -e 'SHOW DATABASES' | grep -v '^\(<% @excludedatabases.join('|') %>\)$' | while read dbname
87+
mysql --defaults-extra-file=$TMPFILE -s -r -N -e 'SHOW DATABASES' | grep -v '^\(<%= @excludedatabases.join('|') %>\)$' | while read dbname
8888
<% end -%>
8989
do
9090
<%= @backupmethod -%> --defaults-extra-file=$TMPFILE --opt --flush-logs --single-transaction \

0 commit comments

Comments
 (0)