diff options
author | motorola <motorola@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-09-16 22:46:38 +0000 |
---|---|---|
committer | motorola <motorola@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-09-16 22:46:38 +0000 |
commit | fabbc10936188e9422570c1663b70de42770aa72 (patch) | |
tree | ac7e23042817c2b0427d6db42f70761f8164a9b6 /bin/update-ace+tao.sh | |
parent | 831ce34b08240a5ce9f10ef689ccb46ab2cb42fa (diff) | |
download | ATCD-fabbc10936188e9422570c1663b70de42770aa72.tar.gz |
*** empty log message ***
Diffstat (limited to 'bin/update-ace+tao.sh')
-rwxr-xr-x | bin/update-ace+tao.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/bin/update-ace+tao.sh b/bin/update-ace+tao.sh index eef0a5b5e55..a2739d30269 100755 --- a/bin/update-ace+tao.sh +++ b/bin/update-ace+tao.sh @@ -3,11 +3,12 @@ # $Id$ # Define helper function to extract version number into tag format -d='\([0-9]*\)'; version() sed -ne "s,.*$1 version $d\.$d\.$d.*,$1-\1_\2_\3,p" \ - -e "s,.*$1 version $d\.$d.*,$1-\1_\2,p" +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"; } -# If ccvs found, use it instead of plain cvs since it knows about SOCKS5. -if [ ! -z `which ccvs` ]; then cvs () ccvs $*; fi +# 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` |