Skip to content

Commit

Permalink
Shellcheck linting
Browse files Browse the repository at this point in the history
  • Loading branch information
zph committed Apr 22, 2024
1 parent f7ff755 commit 6a25bfb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions e2e/test_pipx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ export MISE_EXPERIMENTAL=1
INSTALLED_PIPX="false"

# Needed for linux/mac compatibility (https://unix.stackexchange.com/a/84980)
readonly temp_dir=$(mktemp -d 2>/dev/null || mktemp -d -t 'mise-pipx-venv-testing')
readonly PIPX_VENV="$temp_dir/pipx"
declare PIPX_TEMP_DIR
PIPX_TEMP_DIR=$(mktemp -d 2>/dev/null || mktemp -d -t 'mise-pipx-venv-testing')
readonly PIPX_VENV="$PIPX_TEMP_DIR/pipx"

if ! command -v pipx >/dev/null; then
INSTALLED_PIPX="true"
Expand Down

0 comments on commit 6a25bfb

Please sign in to comment.