diff options
author | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:11 +0000 |
---|---|---|
committer | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:11 +0000 |
commit | 8008dd09ccf88d4edef237a184a698cac42f2952 (patch) | |
tree | da50d054f9c761c3f6a5923f6979e93306c56d68 /bin/update-ace+tao.sh | |
parent | 13d6e89af439164c0ade48e6f5c3e9b3f971e8c9 (diff) | |
download | ATCD-8008dd09ccf88d4edef237a184a698cac42f2952.tar.gz |
Repo restructuring
Diffstat (limited to 'bin/update-ace+tao.sh')
-rwxr-xr-x | bin/update-ace+tao.sh | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/bin/update-ace+tao.sh b/bin/update-ace+tao.sh deleted file mode 100755 index 9956eb8bb0e..00000000000 --- a/bin/update-ace+tao.sh +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/sh -# Update ACE/TAO source tree to the latest numeric-assigned version. -# $Id$ - -# Define helper function to extract version number into tag format -d='\([0-9]*\)' -version() { sed -n -e "s,.*$1 version $d\.$d\.$d.*,$1-\1_\2_\3,p" \ - -e "s,.*$1 version $d\.$d.*,$1-\1_\2,p"; } - -# Use ccvs instead of cvs since it supports SOCKS5, if that environment found. -if [ ! -z "$SOCKS5_USER" ]; then cvs () { ccvs $*; } fi - -old_ace_version=`version <VERSION ACE` -old_tao_version=`version <TAO/VERSION TAO` - -# Abort with message if no values in variables -if [ -z $old_ace_version ]; then echo No existing ACE version; exit 1; fi -if [ -z $old_tao_version ]; then echo No existing TAO version; exit 1; fi - -cvs update -A VERSION TAO/VERSION GNUmakefile - -ace_version=`version <VERSION ACE` -tao_version=`version <TAO/VERSION TAO` - -# Abort with message if no values in variables -if [ -z $ace_version ]; then echo No ACE version after update; exit 1; fi -if [ -z $tao_version ]; then echo No TAO version after update; exit 1; fi - -echo Old software version tags: $old_ace_version $old_tao_version -echo New software version tags: $ace_version $tao_version - -# Conserve net bandwidth if no change was observed -if [ $old_ace_version != $ace_version ] || [ x"$1"x = x"force"x ]; then - cvs -q update -Pd -r $ace_version `make -s show_controlled_files` -fi -if [ $old_tao_version != $tao_version ] || [ x"$1"x = x"force"x ]; then - cvs -q update -Pd -r $tao_version TAO -fi - |