7 data/xonotic-data.pk3dir
8 data/xonotic-maps.pk3dir
9 data/xonotic-music.pk3dir
10 data/xonotic-nexcompat.pk3dir
12 fteqcc@git://github.com/Blub/qclib.git
15 repos=`for X in $repos_urls; do echo "${X%%@*}"; done`
26 base=`git config remote.origin.url`
27 base=${base%xonotic.git}
28 for dcomplete in $repos_urls; do
41 if [ -d "$d0/$d" ]; then
48 git config remote.origin.url "$base${d##*/}.git"
55 git clone "$base${d##*/}.git" "$d0/$d"
62 if [ -z "$branch" ]; then
69 if git rev-parse "refs/heads/$branch" >/dev/null 2>&1; then
71 git checkout "$branch"
72 elif git rev-parse "refs/remotes/$remote/$branch" >/dev/null 2>&1; then
74 git checkout --track -b "$branch" "$remote/$branch"
85 if [ -z "$branch" ]; then
89 if [ -z "$branch" ]; then
92 r=`git symbolic-ref HEAD`
101 while [ x"$a" != x"y" -a x"$a" != x"n" ]; do
105 if [ x"$a" = x"y" ]; then
106 git push "$remote" HEAD:"$branch"
107 git checkout --track -b "$branch" "$remote/$branch"
118 git branch -a | sed 's/^/ /; /->/d'
125 r=`git symbolic-ref HEAD`
128 if git log "origin/$r".."$r" | grep .; then
129 while [ x"$a" != x"y" -a x"$a" != x"n" ]; do
130 echo "Push $r in $d?"
133 if [ x"$a" = x"y" ]; then
134 git push `git config "branch.$r.remote" || echo origin` HEAD
142 cd data/xonotic-data.pk3dir
146 if [ -z "$MAKEFLAGS" ]; then
147 if [ -f /proc/cpuinfo ]; then
148 ncpus=$((`grep -c '^processor :' /proc/cpuinfo`+0))
149 if [ $ncpus -gt 1 ]; then
155 make $MAKEFLAGS sv-debug
156 make $MAKEFLAGS cl-debug
157 make $MAKEFLAGS sdl-debug
163 sdl|glx|agl|dedicated)
172 if ! [ -x "darkplaces/darkplaces$client" ]; then
173 if [ -x "darkplaces/darkplaces$client.exe" ]; then
176 echo "Client darkplaces/darkplaces$client not found, aborting"
180 exec "darkplaces/darkplaces$client" -xonotic $@
187 echo " $0 branch <remote> <branchname>"
190 echo " $0 run <client> <options>"