diff --git a/advanced/Scripts/update.sh b/advanced/Scripts/update.sh index 7d05efd8..c29c6b70 100644 --- a/advanced/Scripts/update.sh +++ b/advanced/Scripts/update.sh @@ -55,17 +55,17 @@ update_repo() { } getGitFiles() { - # Setup git repos for directory and repository passed - # as arguments 1 and 2 - local directory="${1}" - local remoteRepo="{$2}" - echo ":::" - echo "::: Checking for existing repository..." - if is_repo "${directory}"; then - update_repo "${directory}" - else - make_repo "${directory}" "${remoteRepo}" - fi + # Setup git repos for directory and repository passed + # as arguments 1 and 2 + local directory="${1}" + local remoteRepo="{$2}" + echo ":::" + echo "::: Checking for existing repository..." + if is_repo "${directory}"; then + update_repo "${directory}" + else + make_repo "${directory}" "${remoteRepo}" + fi } main() {