Skip to content

Commit 0512970

Browse files
committed
fix bashrc
1 parent f604e0e commit 0512970

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

entrypoint.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ curl -fsSL "$MINI_CONDA" -o /tmp/conda.sh
1212
chmod +x /tmp/conda.sh && sh /tmp/conda.sh -b -p "$DEV_PATH/conda"
1313

1414
cat <<EOF | tee -a "$HOME"/.bashrc
15-
# >>> conda initialize >>>
16-
if test -f "$DEV_PATH/conda/etc/fish/conf.d/conda.fish"
17-
. "$DEV_PATH/conda/etc/fish/conf.d/conda.fish"
18-
else
19-
set -x PATH "$DEV_PATH/conda/bin" $PATH
20-
end
21-
# <<< conda initialize <<<
15+
16+
if [ -f "$DEV_PATH/conda/etc/profile.d/conda.sh" ]; then
17+
. "$DEV_PATH/conda/etc/profile.d/conda.sh"
18+
else
19+
export PATH="$DEV_PATH/conda/bin:$PATH"
20+
fi
21+
2222
EOF
2323

2424

0 commit comments

Comments
 (0)