added the option for an extra message in the cvs commit

git-svn-id: http://projects.xennet.org/archtools/devtools/trunk@156 630f3fb4-fbd1-0310-a574-b293cca3120f
This commit is contained in:
Jason Chu 2004-07-24 03:49:38 +00:00
parent c75f35be50
commit 699aa9e627
1 changed files with 7 additions and 0 deletions

View File

@ -33,7 +33,14 @@ fi
scp $pkgfile archlinux.org:/home/ftp/$repo/os/$CARCH
echo "===> Uploaded $pkgfile"
if [ "$1" != "" ]; then
cvs commit -m "upgpkg: $pkg $ver
$1" > /dev/null
echo "===> Commited with \"upgpkg: $pkg $ver
$1\" message"
else
cvs commit -m "upgpkg: $pkg $ver" > /dev/null
echo "===> Commited with \"upgpkg: $pkg $ver\" message"
fi
cvs tag -c -F -R $tag > /dev/null
echo "===> Tagged as $tag"