#!/bin/sh
TEAM=AIT
PACKAGE=${TEAM}_2021
test -e ${TEAM} && rm -rf ${TEAM}
test -e ${TEAM}.tar.gz && rm -rf ${TEAM}.tar.gz
mkdir ${TEAM}
mkdir ${TEAM}/teamdata
mkdir ${TEAM}/teamsrc
mkdir ${TEAM}/teamconfig
cp -r src/${PACKAGE} ${TEAM}/teamsrc
cp -r library/team   ${TEAM}/teamlibrary
cp config/module.cfg ${TEAM}/teamconfig/
cp config/target.cfg ${TEAM}/teamconfig
cp config/base.cfg   ${TEAM}/teamconfig
tar -acvf ${TEAM}.tar.gz ${TEAM}
