Github user wohali commented on a diff in the pull request: https://github.com/apache/couchdb/pull/423#discussion_r67589117 --- Diff: dev/run --- @@ -249,9 +249,15 @@ def hack_default_ini(ctx, node, content): coffeejs = os.path.join(ctx['rootdir'], "share", "server", "main-coffee.js") repl = "javascript = %s %s" % (couchjs, mainjs) + if os.name == 'nt': + # Erlang always wants UNIX-style paths + repl = repl.replace("\\", "/") --- End diff -- Sorry, Ilya, it does not: ```python >>> foo = "E:\\this\\is\\a\\test" >>> foo 'E:\\this\\is\\a\\test' >>> foo[2] '\\' >>> os.path.normcase(foo) 'e:\\this\\is\\a\\test' ``` We always want backslashes to be forward slashes for these specific paths because Erlang is too stupid to use the correct path separator character on Windows, it _always_ wants the UNIX separator. I'm not sure of any other way to do this. Besides, there are other places in this script where we already use the same `string.replace` syntax. Unless you want me to convert all of them... :wink:
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---