ScriptHandler fails to install glyphicons in Symfony 2.5
atosatto opened this issue · 6 comments
atosatto commented
The ScriptHandler should be updated to support the new location of the Symfony console in Symfony 2.5.
I think is sufficient to update the $appDir
variable initialization in the install
function.
https://github.com/braincrafted/bootstrap-bundle/blob/develop/Composer/ScriptHandler.php#L33
florianeckerstorfer commented
Is there a config option I can use that gets me the location of the Symfony console in Symfony < 2.5 and >= 2.5?
sstok commented
This is how I solved it in the SpBowerBundle.
Spea/SpBowerBundle#86
Use the symfony-bin-dir
if it exists, else fall-back to using the 'old' appDir.
Edit. Oops, it should be, use the symfony-bin-dir
if it exists (not symfony-app-dir).
sstok commented
I'll open a PR today to fix this.
sstok commented
No problem ;)
florianeckerstorfer commented
Closed by #247