You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by fi...@apache.org on 2013/07/30 20:19:00 UTC
[3/5] git commit: Logic fix for framework-install.
Logic fix for framework-install.
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugman/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugman/commit/6b6931ec
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugman/tree/6b6931ec
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugman/diff/6b6931ec
Branch: refs/heads/master
Commit: 6b6931ec0508f3c889130364ad6c5632964e373b
Parents: c19d4d6
Author: Fil Maj <ma...@gmail.com>
Authored: Mon Jul 29 20:34:15 2013 -0700
Committer: Fil Maj <ma...@gmail.com>
Committed: Mon Jul 29 20:34:15 2013 -0700
----------------------------------------------------------------------
src/util/config-changes.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/6b6931ec/src/util/config-changes.js
----------------------------------------------------------------------
diff --git a/src/util/config-changes.js b/src/util/config-changes.js
index 558f80d..25b4c1f 100644
--- a/src/util/config-changes.js
+++ b/src/util/config-changes.js
@@ -339,7 +339,7 @@ module.exports = {
if (is_framework) {
var src = selector; // 2nd-level leaves are src path
// Only add the framework if it's not a cordova-ios core framework
- if (keep_these_frameworks.indexOf(src) > -1) {
+ if (keep_these_frameworks.indexOf(src) == -1) {
// xml_child in this case is whether the framework should use weak or not
var opt = {weak: (xml_child != 'true' ? false : true)};
pbxproj.xcode.addFramework(src, opt);