From f6c1e5220af0cb0df470814faaa51810be2a0507 Mon Sep 17 00:00:00 2001 From: moe Date: Wed, 28 Oct 2015 21:35:39 +0100 Subject: [PATCH] Never use hardlinks. Never. --- libexec/rbenv-rehash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/rbenv-rehash b/libexec/rbenv-rehash index 53ab045f..8f0c9b40 100755 --- a/libexec/rbenv-rehash +++ b/libexec/rbenv-rehash @@ -113,7 +113,7 @@ install_registered_shims() { local shim file for shim in $registered_shims; do file="${SHIM_PATH}/${shim}" - [ -e "$file" ] || ln -f "$PROTOTYPE_SHIM_PATH" "$file" + [ -e "$file" ] || cp "$PROTOTYPE_SHIM_PATH" "$file" done }