#!/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