Skip to content
New issue

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

If svn does not exist, fall back to /usr/bin/svnlite in lib/subversion.sh #41

Closed
jbirch opened this issue Feb 23, 2014 · 2 comments
Closed

Comments

@jbirch
Copy link

jbirch commented Feb 23, 2014

For the two operations being performed -- update and info -- it's a drop in replacement. I've a symlink from /usr/local/bin/svn -> /usr/bin/svnlite and Crochet works as expected.

This change would remove one further dependency or fudged-step from a bare system being able to create images with Crochet.

@kientzle
Copy link
Contributor

Updated lib/scm.sh to try 'svn' and fall back to 'svnlite' if that fails.

Please try and let me know how it works for you.

@jbirch
Copy link
Author

jbirch commented Apr 20, 2014

I think that'd be fine; I'll give that a try later this week.

One thing -- I think this'll print svn: not found or equivalent in the case that svn isn't actually on the system. Using which will allow us to get around this -- I'll raise a PR later in the week when I can test it.

Thanks!

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

No branches or pull requests

2 participants