Get rid of this unnecessary buffer
[rofl0r-ixchat.git] / create-dist.sh
blobd7fc09f3a762bff33ecd615b49d204e5ae08f52d
1 #!/bin/sh
2 if [[ -z "$VER" ]] ; then
3 echo set VER!
4 exit
5 fi
6 me=`pwd`
8 proj=ixchat
9 projver=${proj}-${VER}
10 repo=http://github.com/rofl0r/$proj
11 repo=$PWD
13 tempdir=/tmp/${proj}-0000
14 rm -rf $tempdir
15 mkdir -p $tempdir
17 cd $tempdir
18 git clone $repo $projver
19 rm -rf $projver/.git
20 rm -rf $projver/docs
22 tar cJf $proj.tar.xz $projver/
23 mv $proj.tar.xz $me/$projver.tar.xz