Commit 537a7084 authored by anarcat's avatar anarcat Committed by anarcat

internally strip out .gz suffix of provided backup_file so that we compress it properly later

parent 68cc986e
......@@ -25,7 +25,8 @@ function drush_provision_drupal_provision_backup_validate($url = NULL, $backup_f
dt("Backing site up to @path."),
dt("Back up file @path already exists."),
'PROVISION_BACKUP_ALREADY_EXISTS')) {
drush_set_option('backup_file', $backup_file);
drush_set_option('backup_file', str_replace(".gz", '', $backup_file));
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment