generated from me/template-mit
Process folders named as SYNC as both a MASTER and CLONE.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user