Commit ba538e7
committed
Fix target timing issue #156
In cases where sources create a directory and phpbu has to compress the
directory with tar first phpbu will add a '.tar' suffix to the target.
The regex to collect all backups for cleanup was created before all
suffixes where set correctly. This resulted in not working cleanups.
The issue is fixed by creating the regex right before all backups
are collected.1 parent 71e2065 commit ba538e7
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
| 31 | + | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
0 commit comments