summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@samsung.com>2013-02-27 10:02:28 +0900
committerCedric BAIL <cedric.bail@samsung.com>2013-02-28 09:34:53 +0900
commit8c0d3c36732700947fa6a97815ef1c5b19ca3bf1 (patch)
treee04f46c017131a84a8aa1227e0e0996d9d82894c
parenta1980e735428f538a3631475548afd62bde98772 (diff)
git_multi: work with space and fix dependency order.
-rwxr-xr-xgit_multi.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/git_multi.sh b/git_multi.sh
index 5a11a85..92b6c03 100755
--- a/git_multi.sh
+++ b/git_multi.sh
@@ -1,8 +1,8 @@
1#!/bin/bash 1#!/bin/bash
2 2
3#Change the list of repos. 3#Change the list of repos.
4REPOS="core/efl core/enlightenment core/elementary core/evas_generic_loaders" 4REPOS="core/efl core/elementary core/enlightenment core/evas_generic_loaders"
5#REPOS+=" apps/ecrire apps/terminology" 5#REPOS+=" apps/ecrire apps/terminology devs/tasn/solve"
6#REPOS+=" tools/clouseau" 6#REPOS+=" tools/clouseau"
7#REPOS="legacy/ecore legacy/edbus legacy/edje legacy/eet legacy/eeze legacy/efreet legacy/eina legacy/eio legacy/embryo legacy/emotion legacy/ephysics legacy/ethumb legacy/evas legacy/evil" 7#REPOS="legacy/ecore legacy/edbus legacy/edje legacy/eet legacy/eeze legacy/efreet legacy/eina legacy/eio legacy/embryo legacy/emotion legacy/ephysics legacy/ethumb legacy/evas legacy/evil"
8#Change to 1 if you have dev access. 8#Change to 1 if you have dev access.
@@ -29,8 +29,8 @@ clone_repos()
29 29
30 for REPO in $REPOS ; do 30 for REPO in $REPOS ; do
31 if [ ! -d "$REPO" ]; then 31 if [ ! -d "$REPO" ]; then
32 mkdir -p ${REPO} 32 mkdir -p "${REPO}"
33 git clone ${BASE_URL}/${REPO}.git ${REPO} 33 git clone "${BASE_URL}/${REPO}.git" "${REPO}"
34 else 34 else
35 echo "Skipping existing repo: ${REPO}" 35 echo "Skipping existing repo: ${REPO}"
36 fi 36 fi
@@ -42,6 +42,7 @@ run_command_in_dirs()
42 CMD=$1 42 CMD=$1
43 for REPO in $REPOS ; do 43 for REPO in $REPOS ; do
44 if [ -d "$REPO" ]; then 44 if [ -d "$REPO" ]; then
45 echo "Processing command in ${REPO}"
45 pushd ${REPO} &>/dev/null 46 pushd ${REPO} &>/dev/null
46 $CMD 47 $CMD
47 popd &>/dev/null 48 popd &>/dev/null