Closed (fixed)
Project:
Drush Cleanup
Version:
6.x-1.0
Component:
Code
Priority:
Minor
Category:
Task
Assigned:
Reporter:
Created:
3 Nov 2011 at 16:59 UTC
Updated:
26 May 2012 at 06:30 UTC
The path to drupal root might contain a trailing slash,
so the cleanup message after a successful ran contains a uneeded slash ('/") between drupal root and file which should be deleted:
/temp/drupal-7.9//CHANGELOG.txt was cleaned out.
[...]
The attached patch rtrim the trailing slash and delete the files too.
Part of output with additional -vd:
Marked for removal:
- /tmp/drupal-7.9/CHANGELOG.txt
[...]
[0.2 sec, 9.26 MB]
/tmp/drupal-7.9/CHANGELOG.txt was cleaned out.
[...]
| Comment | File | Size | Author |
|---|---|---|---|
| drush_cleanup-rtim.patch | 638 bytes | fl3a |
Comments
Comment #1
Chris CharltonCommitted to both the 7.x & 6.x branches. Thanks for the patch.