The release number has been relocated

r2911 | ffr | 2010-05-07 15:40:58 +1000 (Fri, 07 May 2010) | 2 lines
This commit is contained in:
Ferdi Franceschini
2010-05-07 15:40:58 +10:00
committed by Douglas Clowes
parent 8011cec140
commit 6470d0e65e

View File

@@ -5,8 +5,10 @@ then
echo "There must be a 'server' subdirectory"
exit 1
fi
relnum_file="server/server_config.tcl"
relnum=`grep '# *RELEASE_NUMBER:' $relnum_file | cut -d: -f2|tr -d '[:space:]'`
relnum_file="server/config/nexus/nxscripts_common_1.tcl"
relnum=`grep 'Name: RELEASE-' server/config/nexus/nxscripts_common_1.tcl|sed 's/.*\(RELEASE-[^ ]\+\).*/\1/'`
if [ $relnum = "" ]
then
echo "Could not find RELEASE_NUMBER: in $relnum_file"