generated from me/template-mit
Fix OR's to be AND's for checking SYNC folders.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user