#!/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.4055 2003-08-01 22:03:12 fsg Exp $" BuildType=T MajorVer=1 MinorVer=6 RevNo=0 BuildNum=4057 BuildSuffix="Firebird 1.6 Alpha 1" FIREBIRD_PACKAGE_VERSION=0.Alpha1 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 <$1 <