Skip to content
This repository has been archived by the owner on Jan 29, 2019. It is now read-only.

Creating remote directories uses wrong separator #9

Open
pscheit opened this issue Oct 31, 2013 · 3 comments
Open

Creating remote directories uses wrong separator #9

pscheit opened this issue Oct 31, 2013 · 3 comments

Comments

@pscheit
Copy link
Contributor

pscheit commented Oct 31, 2013

When I deploy from windows the wrong path separator is used

Validating remote
Directory '/var/local/www/staging.ps-webforge.com\releases' does not exist, would you like to create it? (Y/n): y
Directory '/var/local/www/staging.ps-webforge.com\shared' does not exist, would you like to create it? (Y/n): y

resulting in:

drwxr-sr-x  2 www-data www-data 4096 Oct 31 10:54 staging.ps-webforge.com\releases
drwxr-sr-x  2 www-data www-data 4096 Oct 31 10:54 staging.ps-webforge.com\shared

I would love to send more pulls, but so busy right now :( I hope the issues are helping you anyway!

@fieg
Copy link
Member

fieg commented Oct 31, 2013

Yes they are :)

@pkruithof
Copy link
Contributor

FYI: you can use the DIRECTORY_SEPARATOR constant for this.

@pscheit
Copy link
Contributor Author

pscheit commented Oct 31, 2013

nope in this case not. because remotesystem and local system have different seperators here (host system windows, creates directory on remote system unix)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants