Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 18AAF11AC5 for ; Wed, 2 Jul 2014 15:56:26 +0000 (UTC) Received: (qmail 82095 invoked by uid 500); 2 Jul 2014 15:56:26 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 82074 invoked by uid 500); 2 Jul 2014 15:56:26 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 82055 invoked by uid 99); 2 Jul 2014 15:56:25 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jul 2014 15:56:25 +0000 Date: Wed, 2 Jul 2014 15:56:25 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-6889) "Edit json" step in master.cfg fails on Windows MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-6889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14050238#comment-14050238 ] ASF subversion and git services commented on CB-6889: ----------------------------------------------------- Commit da161f5d7317f0f570a7a283a6a14d9c21de558e in cordova-medic's branch refs/heads/master from [~vladimir.kotikov] [ https://git-wip-us.apache.org/repos/asf?p=cordova-medic.git;h=da161f5 ] CB-6889 Change "-i" sed's argument behaviour This now works on both mac and windows. > "Edit json" step in master.cfg fails on Windows > ----------------------------------------------- > > Key: CB-6889 > URL: https://issues.apache.org/jira/browse/CB-6889 > Project: Apache Cordova > Issue Type: Bug > Components: Medic, Windows 8, WP8 > Reporter: Vladimir Kotikov > Assignee: Jesse MacFadyen > > When running medic on windows (either the client and server or just a client), the Edit json step specified in master.cfg fails. > Reason: Windows medic install uses the unix utilities from git\bin, the version of sed installed requires specification of backup suffix for {{-i}} option without space. > {noformat} > -i[SUFFIX], --in-place[=SUFFIX] > edit files in place (makes backup if extension supplied) > {noformat} > from sed help. > {{sed -e 's/cordova-lib": "0./cordova-lib": ">=0./' -ibak package.json}} instead of {{sed -e 's/cordova-lib": "0./cordova-lib": ">=0./' -i bak package.json}} works fine on both windows and mac. -- This message was sent by Atlassian JIRA (v6.2#6252)