laravel/laravel — Issue #369: Problem with php artisan bundle:publish
Author: ladea
Created: 2012-02-29 18:35:33+00:00
State: open

If you install bundle and try to publish his assets before register him at bundles.php the command will copy into /public/bundles/bundle/ the content of /public and will continue to nest folders for a dozens of times.

Warning: copy(E:\wamp\www\nemo\public\bundles\syntaxhighlighter\bundles\syntaxhighlighter\bundles\syntaxhighlighter\bundles\syntaxhighlighter\bundles\syntaxhighlighter\bundles\syntaxhighlighter\bundle
s\syntaxhighlighter\bundles\syntaxhighlighter\bundles\syntaxhighlighter\bundles\.gitignore): failed to open stream: Invalid argument in E:\wamp\www\nemo\laravel\file.php on line 234

Call Stack:
0.0004 629680 1. {main}() E:\wamp\www\nemo\artisan:0
0.0034 1048664 2. require('E:\wamp\www\nemo\laravel\cli\artisan.php') E:\wamp\www\nemo\artisan:24
0.0069 1530104 3. Laravel\CLI\Command::run() E:\wamp\www\nemo\laravel\cli\artisan.php:40
0.0077 1589792 4. Laravel\CLI\Tasks\Bundle\Bundler->publish() E:\wamp\www\nemo\laravel\cli\command.php:49
0.0079 1606592 5. array_walk() E:\wamp\www\nemo\laravel\cli\tasks\bundle\bundler.php:157
0.0079 1606640 6. Laravel\CLI\Tasks\Bundle\Publisher->publish() E:\wamp\www\nemo\laravel\cli\tasks\bundle\bundler.php:157
0.0080 1606888 7. Laravel\CLI\Tasks\Bundle\Publisher->move() E:\wamp\www\nemo\laravel\cli\tasks\bundle\publisher.php:19
0.0083 1688672 8. Laravel\File::cpdir() E:\wamp\www\nemo\laravel\cli\tasks\bundle\publisher.php:33
0.0090 1691816 9. Laravel\File::cpdir() E:\wamp\www\nemo\laravel\file.php:224
0.3424 1694200 10. Laravel\File::cpdir() E:\wamp\www\nemo\laravel\file.php:224
0.3430 1696560 11. Laravel\File::cpdir() E:\wamp\www\nemo\laravel\file.php:224
0.7596 1698992 12. Laravel\File::cpdir() E:\wamp\www\nemo\laravel\file.php:224
0.7605 1701608 13. Laravel\File::cpdir() E:\wamp\www\nemo\laravel\file.php:224
1.3802 1704424 14. Laravel\File::cpdir() E:\wamp\www\nemo\laravel\file.php:224
1.3816 1707176 15. Laravel\File::cpdir() E:\wamp\www\nemo\laravel\file.php:224
2.2338 1710016 16. Laravel\File::cpdir() E:\wamp\www\nemo\laravel\file.php:224
2.2358 1712920 17. Laravel\File::cpdir() E:\wamp\www\nemo\laravel\file.php:224
3.0696 1715928 18. Laravel\File::cpdir() E:\wamp\www\nemo\laravel\file.php:224
3.0719 1719016 19. Laravel\File::cpdir() E:\wamp\www\nemo\laravel\file.php:224
4.0122 1722184 20. Laravel\File::cpdir() E:\wamp\www\nemo\laravel\file.php:224
4.0152 1725416 21. Laravel\File::cpdir() E:\wamp\www\nemo\laravel\file.php:224
31.2879 1728824 22. Laravel\File::cpdir() E:\wamp\www\nemo\laravel\file.php:224
31.2912 1732200 23. Laravel\File::cpdir() E:\wamp\www\nemo\laravel\file.php:224
32.6226 1736176 24. Laravel\File::cpdir() E:\wamp\www\nemo\laravel\file.php:224
32.6486 1740896 25. Laravel\File::cpdir() E:\wamp\www\nemo\laravel\file.php:224
32.6615 1745368 26. copy() E:\wamp\www\nemo\laravel\file.php:234

Assets published for bundle [syntaxhighlighter].