# Bash script to put together a zip file, with DOS-formatted text files

FILES="*.scm makezip propane README"
rm -rf tmp *~ *.zip *.tgz

tar cf - $FILES | gzip > ncad021.tgz

mkdir tmp
for i in `ls $FILES`; do
	if [ -f $i ]; then
		unix2dos < $i > tmp/$i
	fi
done

zip ncad021.zip tmp/*
rm -rf tmp
