[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 Feb 8 12:18:13 CST 2012


branch "master" has been updated
       via  2c3865792aecb420f6cdaf701769ec2943f9ab8d (commit)
      from  6e60fd6ef9df278bbb459187ddf17d5fe557fb62 (commit)

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


- Log -----------------------------------------------------------------
commit 2c3865792aecb420f6cdaf701769ec2943f9ab8d
Author: David M. Lee <dlee at digium.com>
Date:   Wed Feb 8 12:18:07 2012 -0600

    Fixed repoName for non-existent repos

diff --git a/gitall-asterisk-scf.sh b/gitall-asterisk-scf.sh
index d5cc902..13f103a 100755
--- a/gitall-asterisk-scf.sh
+++ b/gitall-asterisk-scf.sh
@@ -228,9 +228,8 @@ function passthrough()
     for repo in . "${repos[@]}"; do
         {
             repoDir=$(basename ${repo})
-            repoName=$(basename "$(cd ${repoDir} && pwd)")
+            repoName=${repoDir}
             if ! test -d ${repoDir}/.git; then
-                echo >&2
                 echo "!! Repo ${repoName} not yet cloned" >&2
                 exit 1
             fi
@@ -255,7 +254,7 @@ function dry_run()
     echo ">> git" "$@" "(dry-run)"
     for repo in . "${repos[@]}"; do
         repoDir=$(basename ${repo})
-        repoName=$(basename "$(cd ${repoDir} && pwd)")
+        repoName=${repoDir}
         if ! test -d ${repoDir}/.git; then
             echo "!! Repo ${repoName} not yet cloned" >&2
             exit 1
@@ -272,7 +271,7 @@ function dry_run()
     for repo in . "${repos[@]}"; do
         {
             repoDir=$(basename ${repo})
-            repoName=$(basename "$(cd ${repoDir} && pwd)")
+            repoName=${repoDir}
             echo ">> git" "$@" "(${repoName})"
             git_in_dir ${repoDir} "$@"
             if test $? -ne 0; then

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


-- 
asterisk-scf/integration/gitall.git



More information about the asterisk-scf-commits mailing list