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

Softlink jruby to jruby.bash instead of hard copy. #1199

Merged
merged 1 commit into from Nov 11, 2013

Conversation

Projects
None yet
2 participants
@voxik
Copy link
Contributor

voxik commented Nov 1, 2013

Softlink will do the same job better than copy.

@mkristian

This comment has been minimized.

Copy link
Member

mkristian commented Nov 1, 2013

can it be that the 'r' option is not common with all unix flavours ? ln -sr

nope: http://www.openbsd.org/cgi-bin/man.cgi?query=ln

@voxik

This comment has been minimized.

Copy link
Contributor Author

voxik commented Nov 1, 2013

I am afraid you are right. It seems to be quite new feature:

http://lists.gnu.org/archive/html/coreutils/2012-02/msg00159.html
http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=15b8318e93a947d1422e9a927f699eda1085cf0d

I'll try to come with some universal solution, e.g. cd into the bin directory could be solution.

@mkristian

This comment has been minimized.

Copy link
Member

mkristian commented Nov 2, 2013

ln -s jruby.bash /home/christian/projects/active/maven/jruby/bin/something

works with me, i.e. the first argument can be relative

@voxik

This comment has been minimized.

Copy link
Contributor Author

voxik commented Nov 5, 2013

I have updated the PR and added pushd/popd. Hope it is more universal.

mkristian added a commit that referenced this pull request Nov 11, 2013

Merge pull request #1199 from voxik/softlink-jruby
Softlink jruby to jruby.bash instead of hard copy.

@mkristian mkristian merged commit e0099f7 into jruby:master Nov 11, 2013

1 check failed

default The Travis CI build failed
Details
@mkristian

This comment has been minimized.

Copy link
Member

mkristian commented Nov 11, 2013

let's see it that works everywhere . . .thanx

mkristian added a commit that referenced this pull request Nov 11, 2013

Merge pull request #1199 from voxik/softlink-jruby
Softlink jruby to jruby.bash instead of hard copy.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.