BlinkenArea - GitList
Repositories
Blog
Wiki
Blimp
Code
Commits
Branches
Tags
Search
Tree:
2e5a719
Branches
Tags
master
1.4.4
v.1.4.3
v0.2
v0.3
v0.4
v0.5
v0.6
v1.0
v1.1
v1.2
v1.2.1
v1.3
v1.3.1
v1.3.2
v1.3.3
v1.3.4
v1.3.5
v1.3.6
v1.3.7
v1.3.8
v1.4.0
v1.4.1
v1.4.2
v1.4.4
Blimp
mkpack.sh
Blimp v.1.3 (2006-10-10)
Christian Heimke
commited
2e5a719
at 2011-07-15 09:21:11
mkpack.sh
Blame
History
Raw
#! /bin/sh NAME=Blimp VERSION_FILE=Makefile VERSION=$(cat $VERSION_FILE | grep 'version [0-9]\+\.[0-9]\+\(\.[0-9]\+\)\?' | sed 's/^.*version \([0-9]\+\.[0-9]\+\(\.[0-9]\+\)\?\).*$/\1/') DATE=$(cat $VERSION_FILE | grep 'date [0-9]\+-[0-9]\+-[0-9]\+' | sed 's/^.*date \([0-9]\+-[0-9]\+-[0-9]\+\).*$/\1/') PACK="${NAME}-${VERSION}_${DATE}" FILES="ChangeLog Makefile org/blinkenarea/Blimp/*.java org/blinkenarea/Blimp/images/* Blimp.mf Blimp.html mkpack.sh" rm -rf $PACK mkdir $PACK for FILE in $FILES do mkdir -p $(dirname $PACK/$FILE) cp $FILE $PACK/$FILE done ARCH=$PACK.tar.bz2 if [ -f $ARCH ] then ARCH=$ARCH.new fi tar jcf $ARCH $PACK rm -rf $PACK