composer/composer — pull request #792 by liuggio (2012-06-12 16:00:43+00:00)
Title: fixed #790

simple strlen to avoid truncate of target-dir when the composer.json has

```
"target-dir": "" <- empty string

```