Skip to content

Commit

Permalink
Fixed modules builder
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentj committed Dec 8, 2012
1 parent c07a1b8 commit bc49154
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions build/buildmodules.php
Expand Up @@ -180,8 +180,7 @@ function generateModulePackage($moduleName, $modulesRepositoryPath) {
if($PACKAGE_ZIP){
$dir = getcwd();
chdir($MAIN_TARGET_PATH.$BUILD_SUBPATH);
//echo 'zip -r '.$dir.'/'.$MAIN_TARGET_PATH.$packageName.'.zip '.$moduleName."\n";
exec('zip -r '.$dir.'/'.$MAIN_TARGET_PATH.$packageName.'.zip '.$moduleName);
exec('zip -r ../'.$packageName.'.zip '.$moduleName);
chdir($dir);
}
return;
Expand Down
4 changes: 2 additions & 2 deletions build/config/modules-dist.ini
@@ -1,6 +1,6 @@
MAIN_TARGET_PATH = _dist
PACKAGE_TAR_GZ = 1
PACKAGE_ZIP = 1
PACKAGE_TAR_GZ=1
PACKAGE_ZIP=1


TARGET_REPOSITORY =
Expand Down

0 comments on commit bc49154

Please sign in to comment.