X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/0dfd76c6fc55b5930c5ff296a28b77f1c5a2c43e..c2d2b5b171463c34e92b84290109a43f44823101:/projects/make_tarball/make.sh diff --git a/projects/make_tarball/make.sh b/projects/make_tarball/make.sh new file mode 100755 index 00000000..e072c573 --- /dev/null +++ b/projects/make_tarball/make.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +SRC_DIR=stg-2.4-`date "+%Y.%m.%d-%H.%M.%S"` +ARC_NAME=$SRC_DIR.tar.gz + +git clone git://madf.dyndns.org/stg.git $SRC_DIR + +rm -r $SRC_DIR/.git +rm -r $SRC_DIR/projects/make_tarball +rm -r $SRC_DIR/projects/traffcounter +rm -r $SRC_DIR/projects/stargazer/plugins/other/userstat +rm -r $SRC_DIR/projects/stargazer/plugins/authorization/stress +rm -r $SRC_DIR/projects/stargazer/plugins/store/db + +tar -zcf $arc_name $src_dir