2 . $
(dirname $0)/common.sh
4 VERSION
=$
(scripts
/version.sh
)
5 BASENAME
=ugit-win32-
$VERSION
10 echo "ERROR: '$DIR' already exists."
14 scripts
/build-win32.sh ||
exit -1
16 if [ -e $BASENAME ]; then
17 echo "error: $BASENAME exists"
20 rsync
-avr $DIR/ $BASENAME/
21 tar czf
$FILE $BASENAME/
23 if [ -e $HOME/htdocs
/ugit
/releases
]; then
24 mv -v $FILE $HOME/htdocs
/ugit
/releases