[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
Wed Oct 27 21:10:39 CDT 2010


branch "master" has been updated
       via  2230db8a33a3e3520145db7341f2fdd12d436d68 (commit)
      from  859bcd431f380a66718e9fc35f962cca72a06647 (commit)

Summary of changes:
 gitall-asterisk-scf.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


- Log -----------------------------------------------------------------
commit 2230db8a33a3e3520145db7341f2fdd12d436d68
Author: Kevin P. Fleming <kpfleming at digium.com>
Date:   Wed Oct 27 22:08:34 2010 -0400

    Teach the gitall script how to determine the URL the repository was cloned from,
    rather than assuming a specific URL.

diff --git a/gitall-asterisk-scf.sh b/gitall-asterisk-scf.sh
index 939e52e..80c15d7 100755
--- a/gitall-asterisk-scf.sh
+++ b/gitall-asterisk-scf.sh
@@ -25,7 +25,7 @@ If no command is given, pull is run by default.
 EOF
 }
 
-gitdepot=git at git.asterisk.org
+gitdepot=`git remote show -n origin | grep -e "Fetch URL" | sed "s@^.*URL: @@" | sed "s@:asterisk-scf/integration/gitall@@"`
 
 # tree should probably be set by menu prompts or command line args
 # one day

-----------------------------------------------------------------------


-- 
asterisk-scf/integration/gitall.git



More information about the asterisk-scf-commits mailing list