summaryrefslogtreecommitdiffstats
path: root/release_support
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2003-12-17 20:54:51 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2003-12-17 20:54:51 +0000
commit69544b56502b2debadea874c17f87f81a4de4838 (patch)
treeb843eb4805dffe29d0e2ec36e86e7f89a465d496 /release_support
parentcdf8c447875d0dbaf02807e53743a39776d3edf5 (diff)
downloadrtems-69544b56502b2debadea874c17f87f81a4de4838.tar.bz2
2003-12-17 Joel Sherrill <joel@OARcorp.com>
* release_support: Correct method used to find ChangeLog associated with the version.m4 files. Keep going until I can get a tarball cut.
Diffstat (limited to 'release_support')
-rwxr-xr-xrelease_support30
1 files changed, 15 insertions, 15 deletions
diff --git a/release_support b/release_support
index 16d7f5fd8b..80699015d6 100755
--- a/release_support
+++ b/release_support
@@ -25,26 +25,26 @@ case $1 in
pretag)
release_name=$2
current=$3
- for version_file in \
- aclocal/version.m4 \
- cpukit/aclocal/version.m4 \
- c/src/aclocal/version.m4 \
- cpukit/aclocal/version.m4
+ currentdir=`pwd`
+ for version_dir in . cpukit c/src testsuites
do
- b=`dirname $version_file`/..
- cat << EOF > $version_file
+ cd ${currentdir}/${version_dir}
+ cat << EOF > aclocal/version.m4
AC_DEFUN([RTEMS_VERSIONING],
m4_define([_RTEMS_VERSION],[${current}]))
EOF
- ( echo `date +"%Y-%m-%d"`" ${user_name}" ;
- echo ;
- echo " * ${version_file}: Updated to ${release_name}-${current}." ;
- echo ) >YYY
- cat YYY ${b}/ChangeLog >XXX
- mv XXX ${b}/ChangeLog
- cvs commit -F YYY ${b}/ChangeLog ${version_file}
- rm -f YYY
+ ( \
+ echo `date +"%Y-%m-%d"`" ${user_name}" ;
+ echo ;
+ echo " * aclocal/version.m4: Updated to ${release_name}-${current}." ;
+ echo \
+ ) >YYY
+ cat YYY ChangeLog >XXX
+ mv XXX ChangeLog
+ cvs commit -F YYY ChangeLog aclocal/version.m4
+ rm -f YYY
done
+ cd ${currentdir}
;;
postexport)
# In order to prevent end users from having to have "developer" tools