diff --git a/bin-shared/pull_clone.sh b/bin-shared/pull_clone.sh index 75e77e8..9420325 100755 --- a/bin-shared/pull_clone.sh +++ b/bin-shared/pull_clone.sh @@ -13,7 +13,7 @@ dir="`basename $DIR`" ## 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." exit 0 fi diff --git a/bin-shared/send_master.sh b/bin-shared/send_master.sh index 3d4e1a8..f03bcdd 100755 --- a/bin-shared/send_master.sh +++ b/bin-shared/send_master.sh @@ -14,7 +14,7 @@ dir="`basename $DIR`" ## 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." exit 0 fi