diff --git a/clone_projects.sh b/clone_projects.sh index 5ddb5a0..49274ad 100644 --- a/clone_projects.sh +++ b/clone_projects.sh @@ -8,11 +8,9 @@ set_up_2px_repo() { echo "Setting up $repo_name..." if [ -e ~/"$folder""$repo_name" ]; then echo "${GREEN}$repo_name is already there, updating...${NC}" - echo "${RED}Going into ~/${folder}${repo_name}${NC}" cd ~/"$folder""$repo_name" && git pull else echo "${ORANGE}Cloning new $repo_name...${NC}" - echo "${RED}Going into ~/${folder}${NC}" cd ~/"$folder" && git clone ssh://flyingscorpio@2px.info.tm/~/repos/"$repo_name".git fi @@ -26,11 +24,9 @@ set_up_gitlab_repo() { echo "Setting up $repo_owner/$repo_name..." if [ -e ~/"$folder""$repo_name" ]; then echo "${GREEN}$repo_name is already there, updating...${NC}" - echo "${RED}Going into ~/${folder}${repo_name}${NC}" cd ~/"$folder""$repo_name" && git pull else echo "${ORANGE}Cloning new $repo_name...${NC}" - echo "${RED}Going into ~/${folder}${NC}" cd ~/"$folder" && git clone https://gitlab.com/"$repo_owner"/"$repo_name".git fi