pull: make pull verbose
[ugit.git] / scripts / mktar-win32.sh
blobc55711105210b46b190cad5dc801dc8ba41e568a
1 #!/bin/sh
2 . $(dirname $0)/common.sh
4 VERSION=$(scripts/version.sh)
5 BASENAME=ugit-win32-$VERSION
6 FILE=$BASENAME.tar.gz
7 DIR=installroot
9 if [ -d $DIR ]; then
10 echo "ERROR: '$DIR' already exists."
11 exit -1
14 scripts/build-win32.sh || exit -1
16 if [ -e $BASENAME ]; then
17 echo "error: $BASENAME exists"
18 exit -1
20 rsync -avr $DIR/ $BASENAME/
21 tar czf $FILE $BASENAME/
22 rm -rf $DIR $BASENAME
23 if [ -e $HOME/htdocs/ugit/releases ]; then
24 mv -v $FILE $HOME/htdocs/ugit/releases