path inside badbehavior tar.gz to be renamed to bad-behavior
casperl - March 31, 2006 - 10:00
| Project: | Bad Behavior |
| Version: | 4.6.x-1.x-dev |
| Component: | Documentation |
| Category: | bug report |
| Priority: | normal |
| Assigned: | dpangier |
| Status: | active |
Jump to:
Description
The README.txt of badbehaviour contains the following strange ???? instruction:
> 2. Copy badbehavior.module into the modules/bad-behavior/ directory.
of course the path of the badbehaviour.tar.gz file contains a differently named directory:
> badbehavior-4.6.0.tar.gz/badbehavior
Furthermore the php code from bad behaviour also uses the directory name bad-behavior:
> bad-behavior-1.2.2.zip/bad-behavior
This issue arose from this support forum thread: http://drupal.org/node/47144

#1
It sounds like a good idea, and I would love to know how it would be done. The problem is that the core distribution of Bad Behaviour has a "-" in the directory name, but Drupal modules can't have "-"'s in the module name. So, the Bad Behavior module must be called badbehavior, and the associated cvs directory is called the same. The ".tar.gz" file is automatically generated on the Drupal servers from the cvs, so I have no way of renaming it.
Has anyone else got any suggestions on how to move this one forward?