[ https://issues.apache.org/jira/browse/CB-6889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vladimir Kotikov updated CB-6889: --------------------------------- Description: 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. was: 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 doesn't support the "-i" parameter. {noformat} ShellCommand(command=["sed","-e","s/cordova-lib\": \"0./cordova-lib\": \">=0./","-i","bak","package.json"],workdir='build/cordova-cli',haltOnFailure=True,description='Edit json',descriptionDone='Edit json'), {noformat} > "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)