Skip to content

Commit

Permalink
activate.sh: exit early in case of failures
Browse files Browse the repository at this point in the history
Signed-off-by: Tomasz Gorochowik <[email protected]>
  • Loading branch information
tgorochowik committed Dec 16, 2024
1 parent dde851a commit f8118c1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions activate.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/env bash

set -e

export PYENV_ROOT="$HOME/.pyenv"
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
Expand Down

0 comments on commit f8118c1

Please sign in to comment.