Changeset cd01ba0 in rtems-testing for gcc


Ignore:
Timestamp:
Feb 19, 2009, 7:14:42 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 8895273c193787f84c4585a10f6d6aceb3b25dc4
Children:
b14a467
Parents:
dad3ce4
Message:

2009-02-19 Joel Sherrill <joel.sherrill@…>

  • README, gcc/test_driver: Do not assume anything is a CVS/SVN checkout. Look for the CVS or .svn subdirectory and act accordingly.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • gcc/test_driver

    rdad3ce4 rcd01ba0  
    4343{
    4444  cd ${RTEMSDIR}
    45   cvs up -Pd 2>&1 | grep -v ^cvs
    46   ./bootstrap -c
    47   ./bootstrap
     45  if [ -d CVS ] ; then
     46    cvs up -Pd 2>&1 | grep -v ^cvs
     47    ./bootstrap -c
     48    ./bootstrap
     49  fi
    4850}
    4951
     
    5254{
    5355  cd ${GCCDIR}
    54   ./contrib/gcc_update
     56  if [ -d .svn ] ; then
     57    ./contrib/gcc_update
     58  fi
    5559}
    5660
     
    8084  do
    8185   
    82     case ${d} in
    83       *cvs*)
    84         cd ${d}
    85         cvs up -P 2>&1 | grep -v ^cvs
    86         ;;
    87       *)
    88         ;;
    89     esac
     86    cd ${d}
     87    if [ -d .svn ] ; then
     88      echo "I do not update SVN for ${d}"
     89      exit 1
     90   fi
     91   if [ -d CVS ] ; then
     92     cvs up -P 2>&1 | grep -v ^cvs
     93   fi
    9094  done
    9195}
Note: See TracChangeset for help on using the changeset viewer.