This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
deb-goldedplus/dist-gpc.sh

16 lines
318 B
Bash
Raw Normal View History

#!/bin/sh
# Create a archive 'gpc*.zip' with configuration files examples.
2005-11-06 12:51:16 +00:00
date=`date +%Y%m%d`
shortdate=`echo ${date} | sed s/^...//`
shortname=../gpc${shortdate}.zip
2005-11-06 14:05:27 +00:00
name=gpc115-${date}.zip
2005-11-06 12:51:16 +00:00
dir=cfgs
if [ -f ${name} ] ; then rm $name ; fi
find ${dir} | grep -v CVS | zip -9 -@ -X ${name}
2005-11-06 12:51:16 +00:00
cp ${name} ${shortname}