Don't abort if we cancel or don't select a zip archive
[geda-gerbv/spe.git] / cvs-tag.sh
blobd274a7a83f150d5b2ac7880f28316352a17d335d
1 #!/bin/sh
3 # Tags files according to FILES2TAG. Entries with # in the beginning will
4 # not be tagged.
6 # (C) 2002-2003, Stefan Petersen (spe@stacken.kth.se)
7 # $Id$
9 FILES2TAG=files2tag.txt
10 CVS=cvs
11 TAG=$1
13 if test -z ${TAG} ; then
14 echo Give tag name
15 exit 1;
18 for file2tag in `cat ${FILES2TAG}` ; do
19 if test -z "`echo ${file2tag} | mawk '$0 ~ /^#/'`" ; then
20 echo TAGGING ${file2tag}
21 ${CVS} tag ${TAG} ${file2tag}
23 done