Arc Forumnew | comments | leaders | submitlogin
3 points by i4cu 2056 days ago | link | parent

I'm going to piggyback on this thread for anarki + osx. Can some explain why the arc.sh script requires that coreutils be installed - what's that dependancy for? emacs?


3 points by akkartik 2056 days ago | link

Just greadlink in case the location where you cloned anarki lies somewhere within a symlink: https://github.com/arclanguage/anarki/blob/master/arc.sh

:/

-----

3 points by i4cu 2056 days ago | link

ok thanks. I wasn't familiar with greadlink so I didn't know it was a 'thing'.

-----

3 points by akkartik 2055 days ago | link

I kinda misspoke. The explanation is at the top of the file:

    Put a symlink to this script somewhere in your path.
The goal seems to be to deduce where the sources are, independent of where the driver script is called from.

-----

3 points by hjek 2055 days ago | link

Why aren't we just using

    cd $(dirname "$0")
to change to the arc dir?

greadlink shouldn't be necessary.

-----

3 points by akkartik 2055 days ago | link

That was my initial thinking as well, hence the ':/'.

But later I realized there's a good reason: http://arclanguage.org/item?id=20641

-----

2 points by hjek 2055 days ago | link

Oh, symlinks! I see.

-----

2 points by zck 2053 days ago | link

I wish arc had better integration with Emacs. I'd love a SLIME/Cider-style integration. With infinite time, I'd like to write one.

-----