]> git.ozlabs.org Git - next-scripts/commitdiff
special case ozlabs.org as well
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 5 May 2008 06:24:52 +0000 (16:24 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 5 May 2008 06:24:52 +0000 (16:24 +1000)
fetch_trees

index 469c63f14ca96482c77da6dc63c904adb78c703c..eedd8301151ae8580647e1cb1c2464a4bb05eb0a 100755 (executable)
@@ -20,6 +20,10 @@ while read email type name url ref; do
                        use_rsync=true
                        rurl=$(echo "$url" | sed -r 's,^http://(www\.)?kernel\.org,master.kernel.org:,')
                        ;;
+               http://ozlabs.org/~*)
+                       use_rsync=true
+                       rurl=$(echo "$url" | sed -r 's,^http://ozlabs\.org/([^/]*),ozlabs.org:\1/public_html,')
+                       ;;
                *)
                        use_rsync=false
                        ;;