From 89c0d0589c9490bace31a722e933c2675e89d91f Mon Sep 17 00:00:00 2001 From: Hyperling Date: Tue, 31 Mar 2026 19:51:26 -0700 Subject: [PATCH] Fix OR's to be AND's for checking SYNC folders. --- bin-shared/pull_clone.sh | 2 +- bin-shared/send_master.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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