magento-hackathon / magento-composer-installer

Composer installer for Magento modules
210 stars 154 forks source link

Relative symlinks don't work with --working-dir #95

Closed danslo closed 7 years ago

danslo commented 10 years ago

When doing a composer install --no-dev --optimize-autoloader --working-dir /var/www on production, the symlinks are wrong:

/var/www$ ls -la app/etc/modules/
...
<snip> Aoe_Profiler.xml -> /var/www/../../../vendor/fbrnc/Aoe_Profiler/app/etc/modules/Aoe_Profiler.xml

It seems to be prepending the working dir to a relative symlink.