diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-03-21 18:30:16 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-03-21 18:30:16 -0300 |
commit | 22db890684f6bec66a805310a3494e6a3f6a7403 (patch) | |
tree | 952598f4a020207cf8f0554da38009d7811b9a3e /lib | |
parent | decdfd3b67bb35ce4ef8032c3276868e8177c1c3 (diff) | |
download | hydra-22db890684f6bec66a805310a3494e6a3f6a7403.tar.gz hydra-22db890684f6bec66a805310a3494e6a3f6a7403.tar.bz2 |
Fix hydra_database_name
Diffstat (limited to 'lib')
-rw-r--r-- | lib/hydra/backup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hydra/backup b/lib/hydra/backup index c056c01..fa21ab8 100644 --- a/lib/hydra/backup +++ b/lib/hydra/backup @@ -172,5 +172,5 @@ function hydra_backup_restore_database { # Return a normalized database name function hydra_database_name { # MySQL 16 chars limit - echo $1 | sed -r 's/(^>.{16}).*/\1/' + echo $1 | sed -e 's/^\(................\)/\1/' } |