Steps to reproduce:
run for example
symfony plugin-install http://plugins.symfony-project.com/sfCssTabsPlugin
In the project's web dir, a sfCssTabsPlugin dir will be created, with all the sub-dirs of a complete symfony project.
As far as I can see, the bug comes from the lines 293 & 294 of sfPakePlugins.php:
$source = split(DIRECTORY_SEPARATOR, rtrim($source, DIRECTORY_SEPARATOR));
$target = split(DIRECTORY_SEPARATOR, rtrim($target, DIRECTORY_SEPARATOR));
On Windows, DIRECTORY_SEPARATOR resolves to '\', so split() gets confused.
The following correction works:
$source = split('[\\'.DIRECTORY_SEPARATOR.']', rtrim($source, '[\\'.DIRECTORY_SEPARATOR.']'));
$target = split('[\\'.DIRECTORY_SEPARATOR.']', rtrim($target, '[\\'.DIRECTORY_SEPARATOR.']'));