fi
shift
done
+ case "$location" in
+ best)
+ newbase=`echo "$base" | sed "s,://\(.*\.\)\?git.xonotic.org/,:// .git.xonotic.org/,"`
+ case "$newbase" in
+ *\ *)
+ if location=`bestmirror $newbase"xonotic.git" de nl`; then
+ :
+ else
+ location=current
+ fi
+ ;;
+ *)
+ location=current
+ ;;
+ esac
+ ;;
+ esac
case "$location" in
default)
location=
;;
esac
;;
- best)
- base=`echo "$base" | sed "s,://\(.*\.\)\?git.xonotic.org/,:// .git.xonotic.org/,"`
- case "$base" in
- *\ *)
- if location=`bestmirror $base"xonotic.git" de nl`; then
- :
- else
- location=
- fi
- ;;
- *)
- location=
- ;;
- esac
- ;;
esac
if [ -n "$location" ]; then
base=`echo "$base" | sed "s,://\(.*\.\)\?git.xonotic.org/,://$location.git.xonotic.org/,"`