Skip to content
This repository has been archived by the owner on May 12, 2018. It is now read-only.

Quote include/lib paths #260

Merged
merged 1 commit into from
Jun 18, 2014
Merged

Quote include/lib paths #260

merged 1 commit into from
Jun 18, 2014

Conversation

dgud
Copy link
Contributor

@dgud dgud commented Apr 9, 2014

In OTP-17.0 paths on windows are not shortpaths anymore
so they may contain spaces and parenthesis

In OTP-17.0 paths on windows are not shortpaths anymore
so they may contain spaces and parenthesis
@ghost
Copy link

ghost commented Apr 9, 2014

IIUC, this is only an issue on Windows, so shouldn't we restrict it to Windows? That way the change would not affect non-Windows platforms.

@dgud
Copy link
Contributor Author

dgud commented Apr 9, 2014

You can do what you want, but if someone installed erlang with a space in
the path
on another platform they will get in trouble if the paths are not quoted.
Maybe Windows users moving to Linux or Darwin, will do that..
I know we handle that in erlang, we have a machine that does that.

The problem probably exists in another places, I didn't look, but this one
fixed the urgent
problem more me.

I have only (currently) tested it on windows as well :-)

On Wed, Apr 9, 2014 at 10:16 PM, Tuncer Ayaz notifications@github.comwrote:

IIUC, this is only an issue on Windows, so shouldn't we restrict it to
Windows? That way the change would not affect non-Windows platforms.

Reply to this email directly or view it on GitHubhttps://github.com//pull/260#issuecomment-40011194
.

@ghost
Copy link

ghost commented Apr 9, 2014

Good point :).

@ghost
Copy link

ghost commented May 15, 2014

+1

@ferd
Copy link
Contributor

ferd commented May 29, 2014

Shouldn't this also care for other characters? Escaping " at the very least?

@tsloughter
Copy link
Member

@dgud ping?

@ferd ferd added the bug label Jun 15, 2014
@dgud
Copy link
Contributor Author

dgud commented Jun 17, 2014

Pick this fix, or write a better one I don't care.
See my patch as an bug-report with workaround.
Rebar on windows is currently not working.

@ferd
Copy link
Contributor

ferd commented Jun 18, 2014

Given things are broken right now, we should possibly hurry this one in and deal with quotation issues when it arises -- or note it as a follow-up issue. @Tuncer @tsloughter agreed?

@ghost
Copy link

ghost commented Jun 18, 2014

+1

1 similar comment
@tsloughter
Copy link
Member

+1

ferd added a commit that referenced this pull request Jun 18, 2014
@ferd ferd merged commit e1237ca into rebar:master Jun 18, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
3 participants