Skip to content

Commit

Permalink
Merge pull request #156 from Erotemic/small-variable-rename
Browse files Browse the repository at this point in the history
Rename REUSED_CACHED_ARTIFACTS->REUSE_CACHED_ARTIFACTS
  • Loading branch information
goldyfruit authored Sep 25, 2024
2 parents 04e749b + 1bb1fe6 commit 3aa7496
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 3aa7496

Please sign in to comment.