Process folders named as SYNC as both a MASTER and CLONE.

This commit is contained in:
2026-03-31 17:54:22 -07:00
parent be0469fb94
commit c859b4dcd8
3 changed files with 10 additions and 10 deletions

View File

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

View File

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