There was an error while loading. Please reload this page.
1 parent ae31774 commit fb4fc79Copy full SHA for fb4fc79
1 file changed
asdf.sh
@@ -7,7 +7,8 @@ else
7
fi
8
9
export ASDF_DIR
10
-ASDF_DIR="$(dirname "$current_script_path" &> /dev/null || exit 1; pwd)"
+ASDF_DIR="$(dirname "$current_script_path")"
11
+[ -d "$ASDF_DIR" ] || return
12
13
# Add asdf to PATH
14
#
0 commit comments