We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm on Mac OS X, so perhaps it's related to that.
I had an SVN external that ended with a slash, e.g. /public/service_support/
When local_directory is assigned, the directory is cleaned up with sed to remove the first slash, but not the trailing slash, so it produces:
public/service_support/
This then fails in do_link because ln doesn't like the trailing slash.
To fix, I piped through a second sed command, like so:
local_directory="$(echo ${words[0]} | sed 's,^/,,' | sed 's,/$,,')"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm on Mac OS X, so perhaps it's related to that.
I had an SVN external that ended with a slash, e.g. /public/service_support/
When local_directory is assigned, the directory is cleaned up with sed to remove the first slash, but not the trailing slash, so it produces:
public/service_support/
This then fails in do_link because ln doesn't like the trailing slash.
To fix, I piped through a second sed command, like so:
local_directory="$(echo${words[0]} | sed 's,^/,,' | sed 's,/$ ,,')"
The text was updated successfully, but these errors were encountered: