Fix OR's to be AND's for checking SYNC folders.

This commit is contained in:
2026-03-31 19:51:26 -07:00
parent 3edd062852
commit 89c0d0589c
2 changed files with 2 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ dir="`basename $DIR`"
## Validations ## ## Validations ##
if [[ "$DIR" != *"-clone" || "$DIR" != *"-SYNC" ]]; then if [[ "$DIR" != *"-clone" && "$DIR" != *"-SYNC" ]]; then
echo "'$DIR' is not labeled as a CLONE or SYNC. Skipping download." echo "'$DIR' is not labeled as a CLONE or SYNC. Skipping download."
exit 0 exit 0
fi fi

View File

@@ -14,7 +14,7 @@ dir="`basename $DIR`"
## Validations ## ## Validations ##
if [[ "$DIR" != *"-MASTER" || "$DIR" != *"-SYNC" ]]; then if [[ "$DIR" != *"-MASTER" && "$DIR" != *"-SYNC" ]]; then
echo "'$DIR' is not labeled as a MASTER or SYNC. Skipping upload." echo "'$DIR' is not labeled as a MASTER or SYNC. Skipping upload."
exit 0 exit 0
fi fi