diff --git a/sync.sh b/sync.sh index ddd8334..3e0b657 100755 --- a/sync.sh +++ b/sync.sh @@ -21,7 +21,7 @@ repos[3]='TDSM-english' for repo in "${repos[@]}" do echo ${repo} - if [ -d $folder/$repo ]; + if [ -d $folder/$repo.git ]; then # if repos exists, pull echo 'Pull $repo'