Changeset 69544b5 in rtems for release_support


Ignore:
Timestamp:
12/17/03 20:54:51 (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
44652f8
Parents:
cdf8c447
Message:

2003-12-17 Joel Sherrill <joel@…>

  • release_support: Correct method used to find ChangeLog? associated with the version.m4 files. Keep going until I can get a tarball cut.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • release_support

    rcdf8c447 r69544b5  
    2626    release_name=$2
    2727    current=$3
    28     for version_file in \
    29        aclocal/version.m4 \
    30        cpukit/aclocal/version.m4 \
    31        c/src/aclocal/version.m4 \
    32        cpukit/aclocal/version.m4
     28    currentdir=`pwd`
     29    for version_dir in . cpukit c/src testsuites
    3330    do
    34       b=`dirname $version_file`/..
    35       cat << EOF > $version_file
     31      cd ${currentdir}/${version_dir}
     32      cat << EOF > aclocal/version.m4
    3633AC_DEFUN([RTEMS_VERSIONING],
    3734m4_define([_RTEMS_VERSION],[${current}]))
    3835EOF
    39       ( echo `date +"%Y-%m-%d"`"  ${user_name}" ;
    40         echo ;
    41         echo "    * ${version_file}: Updated to ${release_name}-${current}." ;
    42         echo ) >YYY
    43         cat YYY ${b}/ChangeLog >XXX
    44         mv XXX ${b}/ChangeLog
    45         cvs commit -F YYY ${b}/ChangeLog ${version_file}
    46         rm -f YYY
     36      ( \
     37       echo `date +"%Y-%m-%d"`"  ${user_name}" ;
     38       echo ;
     39       echo "    * aclocal/version.m4: Updated to ${release_name}-${current}." ;
     40       echo \
     41      ) >YYY
     42      cat YYY ChangeLog >XXX
     43      mv XXX ChangeLog
     44      cvs commit -F YYY ChangeLog aclocal/version.m4
     45      rm -f YYY
    4746    done
     47    cd ${currentdir}
    4848    ;;
    4949  postexport)
Note: See TracChangeset for help on using the changeset viewer.