www.nico.schottelius.org/software/cinit/browse_source/cinit-0.2/bin/cinit.release
Nico Schottelius 423ba10303 import cinit from unix.schottelius.org
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-09-16 12:53:45 +02:00

22 lines
357 B
Bash

#!/bin/sh
# Nico Schottelius
# Build release tar
# Date: Sat Oct 15 21:38:29 CEST 2005
if [ $# -ne 2 ]; then
echo $(basename $0): source-dir version
exit 1
fi
DIR=$1
VERSION=$2
if [ ! -d "$DIR" ]; then
echo "$DIR is not a directory"
exit 1
fi
( cd "$DIR" && make clean ) || exit 1
tar cvj -X $DIR/.exclude -f cinit-${VERSION}.tar.bz2 $DIR