[asterisk-scf-commits] asterisk-scf/integration/gitall.git branch "master" updated.
Commits to the Asterisk SCF project code repositories
asterisk-scf-commits at lists.digium.com
Tue Sep 14 09:26:08 CDT 2010
branch "master" has been updated
via 67db00b89088feff3cb36c314f5907e9d5f1cd6a (commit)
from e5accf8c245016a09d48c2e4a79f97942c9d91e9 (commit)
Summary of changes:
gitall-asterisk-scf.sh | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
- Log -----------------------------------------------------------------
commit 67db00b89088feff3cb36c314f5907e9d5f1cd6a
Author: David M. Lee <dlee at digium.com>
Date: Tue Sep 14 09:24:39 2010 -0500
Another oops. Repo directories weren't quite right. This should be it.
diff --git a/gitall-asterisk-scf.sh b/gitall-asterisk-scf.sh
index 1a452b4..4d4bba4 100755
--- a/gitall-asterisk-scf.sh
+++ b/gitall-asterisk-scf.sh
@@ -34,14 +34,15 @@ repos[i++]=integration/slice
repos[i++]=release/cmake
for repo in "${repos[@]}"; do
+ repoDir=$(basename ${repo})
repoUri=${gitdepot}:${tree}/${repo}
- if [ -d ${repo}/.git ]; then
+ if [ -d ${repoDir}/.git ]; then
echo ">> Updating from repo ${repoUri}"
- ( cd ${repo} && git pull && git submodule update --init)
+ ( cd ${repoDir} && git pull && git submodule update --init)
else
echo ">> Cloning from $repoUri to ${repo[i]}"
- git clone --recursive ${repoUri} ${repo}
+ git clone --recursive ${repoUri} ${repoDir}
fi
done
-----------------------------------------------------------------------
--
asterisk-scf/integration/gitall.git
More information about the asterisk-scf-commits
mailing list