Permalink
Browse files

Convert Require names from Core:1.2.4/Array to Core/Array so it can b…

…uild -more 1.2
  • Loading branch information...
arian committed Aug 6, 2010
1 parent 908170d commit c6d7cd73b27bcef3de2f6688703839d6d245409a
Showing with 1 addition and 1 deletion.
  1. +1 −1 packager.php
View
@@ -118,7 +118,7 @@ private function parse_name($default, $name){
$length = count($exploded);
if ($length == 1) return array($default, $exploded[0]);
if (empty($exploded[0])) return array($default, $exploded[1]);
- return array($exploded[0], $exploded[1]);
+ return array(array_shift(explode(':', $exploded[0], 2)), $exploded[1]);
}
private function replace_build($package_path, $file){

0 comments on commit c6d7cd7

Please sign in to comment.