CASA/shsrc/wshsrc/mk-casa-msi

32 lines
617 B
Plaintext
Raw Normal View History

#!/bin/bash
TOP=../..
BR=..
PR=../
set -x
mk-dirs
cd $TOP/make
MAJ_SSS_NO=`cat majver.txt`
MIN_SSS_NO=`cat minver.txt`
REV_SSS_NO=`cat revver.txt`
INT_BLD_NO=`cat ibuild.txt`
MAJ_BLD_NO=`cat mbuild.txt`
if [ $1 = m ]
then
let MAJ_BLD_NO=MAJ_BLD_NO+1
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO.$MAJ_BLD_NO
else
let INT_BLD_NO=INT_BLD_NO+1
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO.$MAJ_BLD_NO.$INT_BLD_NO
fi
cd $PR/vs_solutions/CASAInstall
pwd
devenv /rebuild release CASA.sln
RCODE=$?
if(test $RCODE != 0)
then
exit $RCODE
fi
cp release/* ../../products/install/w32/