Created
November 21, 2019 07:25
-
-
Save chihchun/9ea23da025ebbeb7f560405b193b1d6d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
repos=" | |
git+ssh://git.launchpad.net/~lyoncore-team/lyoncore/+git/dockers-for-somerville | |
git+ssh://git.launchpad.net/~lyoncore-team/lyoncore/+git/image-build | |
git+ssh://git.launchpad.net/~lyoncore-team/lyoncore/+git/jenkins-jobs | |
git+ssh://git.launchpad.net/~lyoncore-team/lyoncore/+git/oem-credential | |
git+ssh://git.launchpad.net/~lyoncore-team/lyoncore/+git/oem-kpitool | |
git+ssh://git.launchpad.net/~lyoncore-team/lyoncore/+git/oem-release | |
git+ssh://git.launchpad.net/~lyoncore-team/lyoncore/+git/oem-sanity | |
git+ssh://git.launchpad.net/~lyoncore-team/lyoncore/+git/oem-tool | |
git+ssh://git.launchpad.net/~lyoncore-team/lyoncore/+git/oemreport | |
git+ssh://git.launchpad.net/~lyoncore-team/lyoncore/+git/somerville-conclusion | |
git+ssh://git.launchpad.net/~lyoncore-team/lyoncore/+git/somerville-share-mirror | |
git+ssh://git.launchpad.net/~lyoncore-team/lyoncore/+git/somerville_maas_installer | |
" | |
for repo in ${repos} ; do | |
name=$(basename $repo) | |
set -x | |
if [ -d $name ] ; then | |
cd ${name} | |
git fetch -v -a | |
cd .. | |
else | |
git clone ${repo} | |
fi | |
set +x | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment