From 22790810c87de97db311ace87ca3a40116da559d Mon Sep 17 00:00:00 2001 From: Jason Karns Date: Sun, 11 Aug 2019 23:45:29 -0400 Subject: [PATCH] more --- test/test_helper.bash | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test_helper.bash b/test/test_helper.bash index 9131061..c3c5163 100644 --- a/test/test_helper.bash +++ b/test/test_helper.bash @@ -46,9 +46,9 @@ with_nodenv_plugin() { local bin=${2:-$1} local path="$NODENV_ROOT/plugins/$name/bin" mkdir -p "$path" - # ln -sf /usr/bin/grep "$path/$bin" # using grep b/c it supports '--version' - echo "echo dummy" > "$path/$bin" - chmod +x "$path/$bin" + ln -sf "$(command -v grep)" "$path/$bin" # using grep b/c it supports '--version' + # echo "echo dummy" > "$path/$bin" + # chmod +x "$path/$bin" } with_nodes() {