- "$SELF" release-copy Docs/
- "$SELF" release-copy misc/
- "$SELF" release-copy server/
- "$SELF" release-copy xonotic-linux-glx.sh
- "$SELF" release-copy xonotic-linux-sdl.sh
- "$SELF" release-mkdir data
- "$SELF" release-mkdir fteqcc
- ;;
- release-copy)
- rsync --exclude=.git -vaSHPAX "$1" Xonotic/"$1"
+ git archive --format=tar HEAD -- Docs misc server xonotic-linux-glx.sh xonotic-linux-sdl.sh | {
+ cd Xonotic
+ mkdir data fteqcc
+ tar xvf -
+ rm -rf misc/builddeps misc/buildfiles
+ }