5 |
# Copyright (C) 2004-2005 Red Hat, Inc. |
# Copyright (C) 2004-2005 Red Hat, Inc. |
6 |
# Copyright (C) 2005 Fedora Foundation |
# Copyright (C) 2005 Fedora Foundation |
7 |
# |
# |
8 |
# $Id: cvs-import.sh,v 1.9 2011/11/03 22:44:53 slords Exp $ |
# $Id: cvs-import.sh,v 1.9 2012/03/14 15:25:11 slords Exp $ |
9 |
|
|
10 |
shopt -s nocasematch |
shopt -s nocasematch |
11 |
|
|
266 |
pushd ${BRANCH} >/dev/null |
pushd ${BRANCH} >/dev/null |
267 |
if [ "$add_file" = "yes" ] ; then |
if [ "$add_file" = "yes" ] ; then |
268 |
case $f in |
case $f in |
269 |
*.tar | *gz | *.bz2 | *.lzma | *.Z | *.zip | \ |
*.tar | *gz | *.bz2 | *.lzma | *.Z | *.zip | *.xz | \ |
270 |
*.ttf | *.bin | *.tbz | *.tbz2 | *.pdf | *.rpm | \ |
*.ttf | *.bin | *.tbz | *.tbz2 | *.pdf | *.rpm | \ |
271 |
*.jar | *.war | *.db | *.cpio | *.jisp | *.egg | *.gem ) |
*.jar | *.war | *.db | *.cpio | *.jisp | *.egg | *.gem ) |
272 |
UPLOADFILES="$UPLOADFILES $f" |
UPLOADFILES="$UPLOADFILES $f" |
320 |
cvs -Q update && \ |
cvs -Q update && \ |
321 |
echo "cvs commit..." && \ |
echo "cvs commit..." && \ |
322 |
cvs -Q commit ${MESSAGE:+-m "$MESSAGE"} && echo "Commit Complete" && \ |
cvs -Q commit ${MESSAGE:+-m "$MESSAGE"} && echo "Commit Complete" && \ |
323 |
cd ${BRANCH} && make tag && echo "Tagging '${TAG}' complete." |
cd ${BRANCH} && cvs tag ${TAG} && echo "Tagging '${TAG}' complete." |
324 |
|
|
325 |
# Clean up |
# Clean up |
326 |
CleanUp |
CleanUp |