cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Grebnov (JIRA)" <>
Subject [jira] [Resolved] (CB-6889) "Edit json" step in master.cfg fails on Windows
Date Tue, 08 Jul 2014 09:35:36 GMT


Sergey Grebnov resolved CB-6889.

    Resolution: Fixed

Fixed and merged

> "Edit json" step in master.cfg fails on Windows
> -----------------------------------------------
>                 Key: CB-6889
>                 URL:
>             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

View raw message