[ 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)