Skip to content
This repository was archived by the owner on Aug 28, 2022. It is now read-only.

Commit a2290ac

Browse files
committed
fix a bug in the local driver
1 parent cfade1f commit a2290ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Backup/Classes/Drivers/LocalBackup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function backup($databaseName)
3636

3737
if ($this->options->compress) {
3838
$commands =[
39-
sprintf('cd $s', $this->options->path),
39+
sprintf('cd %s', $this->options->path),
4040
sprintf('tar -zcf %1$s.sql.gz %1$s.sql', $databaseName),
4141
sprintf('rm -f %s.sql', $databaseName)
4242
];

0 commit comments

Comments
 (0)