#!/bin/sh
# $poplocal/local/com/mksetuptar
# Create tar file with contents of setup/ directory
# Aaron Sloman
# 3 Feb 2001

cd $poplocal/local/ftp

pwd

echo "removing existing compressed version"
ls -l setup.tar.gz
rm -f setup.tar.gz

echo 'creating compressed tar file setup.tar.gz'

rm setup/AATAR*

touch "setup/AATARBUILD`date`"

ls -lRt setup/*/* > setup/AATARFILE.LATEST

tar cf - setup | gzip > setup.tar.gz

echo 'created compressed tar file'

ls -l setup.tar.gz

echo "done"
