argh, fix nasty bug in ./all update
authorRudolf Polzer <rpolzer@nb-04.(none)>
Sat, 20 Mar 2010 13:29:27 +0000 (14:29 +0100)
committerRudolf Polzer <rpolzer@nb-04.(none)>
Sat, 20 Mar 2010 13:29:27 +0000 (14:29 +0100)
all

diff --git a/all b/all
index 5d801ebe81e61dcaad5cb0d5dd9a43ecd0c70faf..d485f00e0da35f6030ff9d2ce90dc151a77489d8 100755 (executable)
--- a/all
+++ b/all
@@ -24,7 +24,13 @@ case "$cmd" in
                for d in $repos; do
                        if [ -d "$d0/$d" ]; then
                                cd "$d0/$d"
                for d in $repos; do
                        if [ -d "$d0/$d" ]; then
                                cd "$d0/$d"
-                               git config remote.origin.url "$base/${d##*/}.git"
+                               case "$d" in
+                                       .)
+                                               ;;
+                                       *)
+                                               git config remote.origin.url "$base/${d##*/}.git"
+                                               ;;
+                               esac
                                git pull
                                cd "$d0"
                        else
                                git pull
                                cd "$d0"
                        else