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

Merged
merged 1 commit into from Nov 11, 2013

Projects

None yet

2 participants

@voxik
Contributor
voxik commented Nov 1, 2013

Softlink will do the same job better than copy.

@mkristian
Member

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
Contributor
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
Member

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

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

@voxik
Contributor
voxik commented Nov 5, 2013

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

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

1 check failed

default The Travis CI build failed
Details
@mkristian
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment