From d9f79d94b6509fa995411911ec9a13c8b71da93e Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Mon, 8 Jun 2015 17:27:26 -0400 Subject: [PATCH] Allow cache_git.sh to handle additional projects adhoc When testing external plugins it's extremely useful to be able to cache additional repositories with cache_git.sh. This allows us to just pass a whole set of additional items on the cli that will also get cached. Change-Id: I966c45efa9e8eb8868323de74f363eb1990e534e --- cache_git.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cache_git.sh b/cache_git.sh index 4dc6e3bb..608ff27f 100755 --- a/cache_git.sh +++ b/cache_git.sh @@ -57,6 +57,9 @@ while getopts hd: opt; do esac done +for dir in $@; do + PROJECTS+="$dir " +done function git_update_mirror { local project=$1