Skip to content

Commit

Permalink
prevent generation of illegal empty metapak repo
Browse files Browse the repository at this point in the history
  • Loading branch information
dzuelke committed Dec 11, 2015
1 parent 50f5b1c commit af49086
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ if(file_exists(getenv("COMPOSER_LOCK"))) {
$require[$package["name"]] = $package["version"];
}
// add all meta-packages to one local package repo
$repositories[] = ["type" => "package", "package" => $metapaks];
if($metapaks) $repositories[] = ["type" => "package", "package" => $metapaks];
}
// if no PHP or HHVM is required anywhere, we need to add something
if(!$have_runtime_req) {
Expand Down

0 comments on commit af49086

Please sign in to comment.