cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From za...@apache.org
Subject [3/4] git commit: CB-7016 - zip created by build has unecessary "./" folder on all files
Date Fri, 27 Jun 2014 12:24:54 GMT
CB-7016 - zip created by build has unecessary "./" folder on all files


Project: http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/commit/68e86e65
Tree: http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/tree/68e86e65
Diff: http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/diff/68e86e65

Branch: refs/heads/master
Commit: 68e86e657ef08e260cf7f76540425ce0c734c226
Parents: 3672034
Author: Rodrigo Silveira <rodrigos@outlook.com>
Authored: Tue Jun 24 11:15:01 2014 -0700
Committer: Piotr Zalewa <piotr@zalewa.info>
Committed: Fri Jun 27 12:41:01 2014 +0200

----------------------------------------------------------------------
 bin/templates/project/cordova/lib/build.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/blob/68e86e65/bin/templates/project/cordova/lib/build.js
----------------------------------------------------------------------
diff --git a/bin/templates/project/cordova/lib/build.js b/bin/templates/project/cordova/lib/build.js
index 89f3621..bd1a5eb 100644
--- a/bin/templates/project/cordova/lib/build.js
+++ b/bin/templates/project/cordova/lib/build.js
@@ -49,7 +49,7 @@ exports.buildProject = function(){
 
     // add the project to a zipfile
     var zipFile = zip();
-    zipFile.addLocalFolder(platformWwwDir, '.');
+    zipFile.addLocalFolder(platformWwwDir);
     zipFile.writeZip(packageFile);
 
     console.log('Firefox OS packaged app built in '+ packageFile);


Mime
View raw message