sync with SAMBA_2_2
[kai/samba.git] / packaging / Caldera / OpenServer / pkg / Packem
1 #!/bin/sh
2
3 P=`pwd`
4 PKGTAR=`basename $P`-VOLS.tar
5 PKGDIST=`basename $P`-dist.tar.gz
6
7 DIRS=usr
8 [ -d etc ] && DIRS="etc usr"
9 cd archives/FLOPPY
10 tar cf ../../$PKGTAR VOL*
11 cd ../..
12 tar cf - $DIRS | /usr/local/bin/gzip -9 > $PKGDIST
13 [ -f $PKGTAR ] && rm -rf archives
14 [ -f $PKGDIST ] && rm -rf $DIRS
15 rm -rf sso