From: Stephen Rothwell Date: Mon, 5 May 2008 06:24:52 +0000 (+1000) Subject: special case ozlabs.org as well X-Git-Url: http://git.ozlabs.org/?a=commitdiff_plain;h=7a7aef14a8a4642bfbd47640c1735cfddfe2835d;p=next-scripts special case ozlabs.org as well --- diff --git a/fetch_trees b/fetch_trees index 469c63f..eedd830 100755 --- a/fetch_trees +++ b/fetch_trees @@ -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 ;;