/[smecontribs]/common/cvs-import.sh
ViewVC logotype

Diff of /common/cvs-import.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.8 by slords, Thu Nov 3 22:47:20 2011 UTC Revision 1.10 by slords, Tue Feb 26 18:51:26 2013 UTC
# Line 5  Line 5 
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    
# Line 266  for _f in $FILES ; do Line 266  for _f in $FILES ; do
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"
# Line 320  read Line 320  read
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


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed