]> git.stg.codes - stg.git/blob - projects/make_tarball/make.sh
e072c5731d1d71d99c040a509ae023e936351167
[stg.git] / projects / make_tarball / make.sh
1 #!/bin/sh
2
3 SRC_DIR=stg-2.4-`date "+%Y.%m.%d-%H.%M.%S"`
4 ARC_NAME=$SRC_DIR.tar.gz
5
6 git clone git://madf.dyndns.org/stg.git $SRC_DIR
7
8 rm -r $SRC_DIR/.git
9 rm -r $SRC_DIR/projects/make_tarball
10 rm -r $SRC_DIR/projects/traffcounter
11 rm -r $SRC_DIR/projects/stargazer/plugins/other/userstat
12 rm -r $SRC_DIR/projects/stargazer/plugins/authorization/stress
13 rm -r $SRC_DIR/projects/stargazer/plugins/store/db
14
15 tar -zcf $arc_name $src_dir