Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id AB1DE200C2B for ; Thu, 2 Mar 2017 20:54:40 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id A9A20160B6F; Thu, 2 Mar 2017 19:54:40 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id F2E8F160B6A for ; Thu, 2 Mar 2017 20:54:39 +0100 (CET) Received: (qmail 26552 invoked by uid 500); 2 Mar 2017 19:54:39 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 26542 invoked by uid 99); 2 Mar 2017 19:54:39 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Mar 2017 19:54:39 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id F33F8DFDAE; Thu, 2 Mar 2017 19:54:38 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: shazron@apache.org To: commits@cordova.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: ios commit: CB-12377: Fix bug with updating platform Date: Thu, 2 Mar 2017 19:54:38 +0000 (UTC) archived-at: Thu, 02 Mar 2017 19:54:40 -0000 Repository: cordova-ios Updated Branches: refs/heads/master 7bce4eced -> 6aed58bca CB-12377: Fix bug with updating platform This closes #291 Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/6aed58bc Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/6aed58bc Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/6aed58bc Branch: refs/heads/master Commit: 6aed58bcadb877cd31636b432a02fbf3a4547a4a Parents: 7bce4ec Author: Nikita Matrosov Authored: Tue Feb 28 13:36:01 2017 +0300 Committer: Shazron Abdullah Committed: Thu Mar 2 11:54:22 2017 -0800 ---------------------------------------------------------------------- bin/lib/create.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/6aed58bc/bin/lib/create.js ---------------------------------------------------------------------- diff --git a/bin/lib/create.js b/bin/lib/create.js index d62a44c..effa0d8 100755 --- a/bin/lib/create.js +++ b/bin/lib/create.js @@ -122,7 +122,7 @@ function copyTemplateFiles(project_path, project_name, project_template_dir, pac shell.cp('-rf', path.join(project_template_dir, '__TEMP__.xcodeproj'), project_path); shell.mv('-f', path.join(project_path, '__TEMP__.xcodeproj'), path.join(r+'.xcodeproj')); - shell.rm('-rf', path.join(project_path, project_name+'.xcodeworkspace')); + shell.rm('-rf', path.join(project_path, project_name+'.xcworkspace')); shell.cp('-rf', path.join(project_template_dir, '__TEMP__.xcworkspace'), project_path); shell.mv('-f', path.join(project_path, '__TEMP__.xcworkspace'), path.join(r+'.xcworkspace')); shell.mv('-f', path.join(r+'.xcworkspace', 'xcshareddata', 'xcschemes', '__PROJECT_NAME__.xcscheme'), path.join(r+'.xcworkspace', 'xcshareddata', 'xcschemes', project_name+'.xcscheme')); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org For additional commands, e-mail: commits-help@cordova.apache.org