Symlink executables instead of coping #77

wants to merge 1 commit into


None yet

3 participants

eldargab commented Jul 2, 2012

Just coping node module's executable breaks it because it is not able to require things after that.

skyisle commented Jul 5, 2012

-s does not exist on osx cp.

@arikon arikon commented on the diff Jul 11, 2012
@@ -139,10 +139,10 @@ install_node() {
local dir=$VERSIONS_DIR/$version
if test -d $dir; then
# TODO: refactor, this is lame
- cd $dir \
+ cd $N_PREFIX/bin \
+ && cp -fs $dir/bin/* .\
arikon Jul 11, 2012

You should use ln -sf instead of cp -fs

@eldargab eldargab closed this Oct 18, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment