Skip to content

Commit

Permalink
Modify if statement.
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaslobjoie committed May 13, 2021
1 parent ae4cdf1 commit 388ada3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ fi
BACKUP_DIR="/app/tools/assets/development"

# Acquia.
if [[ -z "$AH_SITE_ENVIRONMENT" ]]; then
if [[ -n "$AH_SITE_ENVIRONMENT" ]]; then
BACKUP_DIR="/mnt/files/$AH_SITE_NAME.$AH_SITE_ENVIRONMENT/backups/sanitised"
fi

# Platform.sh.
if [[ -z "$PLATFORM_BRANCH" ]]; then
if [[ -n "$PLATFORM_BRANCH" ]]; then
BACKUP_DIR="~/drush-backups/sanitised"
fi

Expand Down

0 comments on commit 388ada3

Please sign in to comment.