#!/bin/sh # This file is used both to rebuild the header file and to set the # environment variables on the config call BuildVersion="$Id: writeBuildNum.sh,v 1.2373 2003-02-14 02:48:22 brodsom Exp $" BuildType=T MajorVer=1 MinorVer=5 RevNo=0 BuildNum=2388 BuildSuffix="Firebird 1.5 Beta 2" FIREBIRD_VERSION="$MajorVer.$MinorVer.$RevNo" PRODUCT_VER_STRING="$MajorVer.$MinorVer.$RevNo.$BuildNum" FILE_VER_STRING="WI-$BuildType$MajorVer.$MinorVer.$RevNo.$BuildNum" FILE_VER_NUMBER="$MajorVer, $MinorVer, $RevNo, $BuildNum" if [ $# -eq 3 ] then headerFile=$2 tempfile=$3; else tempfile=gen/test.header.txt headerFile=src/jrd/build_no.h; fi #______________________________________________________________________________ # Routine to build a new jrd/build_no.h file. If required. rebuildHeaderFile() { cat > $tempfile <