Skip to content

Commit

Permalink
Rename REUSED_CACHED_ARTIFACTS->REUSE_CACHED_ARTIFACTS
Browse files Browse the repository at this point in the history
  • Loading branch information
Erotemic committed Sep 25, 2024
1 parent 04e749b commit 1bb1fe6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions utils/argparse.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ function handle_options() {
# significantly faster.
export USE_UV="${USE_UV:-true}"

# If REUSED_CACHED_ARTIFACTS is true, keep any existing ansible venv which
# If REUSE_CACHED_ARTIFACTS is true, keep any existing ansible venv which
# speeds up the installer, but could result in errors if it is in a dirty
# state. This is mainly useful when debugging the installer.
export REUSED_CACHED_ARTIFACTS="${REUSED_CACHED_ARTIFACTS:-false}"
export REUSE_CACHED_ARTIFACTS="${REUSE_CACHED_ARTIFACTS:-false}"
}

2 changes: 1 addition & 1 deletion utils/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ function create_python_venv() {
fi

if [ -d "$VENV_PATH" ]; then
if [ "$REUSED_CACHED_ARTIFACTS" != "true" ]; then
if [ "$REUSE_CACHED_ARTIFACTS" != "true" ]; then
# Make sure everything is clean before starting.
rm -rf "$VENV_PATH" /root/.ansible &>>"$LOG_FILE"
fi
Expand Down

0 comments on commit 1bb1fe6

Please sign in to comment.