You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by dr...@apache.org on 2013/10/15 20:40:06 UTC

[25/31] git commit: ios compat fix

ios compat fix


Project: http://git-wip-us.apache.org/repos/asf/cordova-medic/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-medic/commit/9bf6b7b7
Tree: http://git-wip-us.apache.org/repos/asf/cordova-medic/tree/9bf6b7b7
Diff: http://git-wip-us.apache.org/repos/asf/cordova-medic/diff/9bf6b7b7

Branch: refs/heads/master
Commit: 9bf6b7b77d1c8f36b80d138b1dea983b700ae599
Parents: 9fdc6ee
Author: David Kemp <dr...@google.com>
Authored: Wed Aug 28 10:44:52 2013 -0400
Committer: David Kemp <dr...@chromium.org>
Committed: Tue Oct 15 14:14:01 2013 -0400

----------------------------------------------------------------------
 src/build/makers/ios.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-medic/blob/9bf6b7b7/src/build/makers/ios.js
----------------------------------------------------------------------
diff --git a/src/build/makers/ios.js b/src/build/makers/ios.js
index 98ab500..90f24d1 100644
--- a/src/build/makers/ios.js
+++ b/src/build/makers/ios.js
@@ -55,7 +55,7 @@ module.exports = function(output,lib_location,test_dir, sha, devices, entry_poin
                         // TODO: expose which target sdk to build for
                         var debugScript = path.join(output, 'cordova', 'build');
                         // note that the following has to work for 3.0.0 and later and it change just AFTER 3.0.x release
-                        fs.writeFileSync(debugScript, fs.readFileSync(debugScript, 'utf-8').replace(/"$PROJECT_PATH\/build"/, '"$PROJECT_PATH/build/device"').replace(/i386/g,'armv7').replace(/iphonesimulator/, 'iphoneos').replace(/SDK=`.*`/, 'SDK="iphoneos"'), 'utf-8');
+                        fs.writeFileSync(debugScript, fs.readFileSync(debugScript, 'utf-8').replace(/PROJECT_PATH\/build"/, 'PROJECT_PATH/build/device"').replace(/i386/g,'armv7').replace(/iphonesimulator/, 'iphoneos').replace(/SDK=`.*`/, 'SDK="iphoneos"'), 'utf-8');
                     } catch(e) {
                         error_writer('ios', sha, 'Exception thrown modifying mobile spec application for iOS.', e.message);
                         callback(true);