60 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			60 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Bash
		
	
	
	
	
	
#!/bin/bash
 | 
						|
set -x
 | 
						|
BR=`pwd`
 | 
						|
 | 
						|
########################################################################
 | 
						|
############################# LINUX BUILDS #############################
 | 
						|
########################################################################
 | 
						|
if [ "`uname`" = "Linux" ]
 | 
						|
then
 | 
						|
cd shsrc/lshsrc
 | 
						|
(mk-ca-all)
 | 
						|
RCODE=$?
 | 
						|
if(test $RCODE != 0)
 | 
						|
then
 | 
						|
exit $RCODE
 | 
						|
fi
 | 
						|
 | 
						|
cd $BR
 | 
						|
exit
 | 
						|
fi
 | 
						|
 | 
						|
########################################################################
 | 
						|
############################# Windows builds ###########################
 | 
						|
########################################################################
 | 
						|
if [ "`uname`" = "CYGWIN_NT-5.0" ]  ||  [ "`uname`" = "Windows_NT" ] || [ "`uname`" = "CYGWIN_NT-5.1" ]
 | 
						|
then
 | 
						|
cd shsrc/wshsrc
 | 
						|
(mk-ca-all)
 | 
						|
RCODE=$?
 | 
						|
if(test $RCODE != 0)
 | 
						|
then
 | 
						|
exit $RCODE
 | 
						|
fi
 | 
						|
 | 
						|
cd $BR
 | 
						|
exit
 | 
						|
fi
 | 
						|
 | 
						|
#CCM=ccm
 | 
						|
#CCM_PROJECT_DIR=$CCM_WORK_AREA/SecretStore_src/
 | 
						|
#CCM_PROJECT_DIR=c:/dev/SecretStoreClient_src~cameron_win_400/SecretStoreClient_src/
 | 
						|
 | 
						|
#cd make
 | 
						|
#$CCM task -create -default -synopsis "Updating the build number." -release SecretStore_4.0
 | 
						|
#$CCM use /r $CCM_PROJECT_DIR/make/ibuild.txt
 | 
						|
 | 
						|
#INT_BLD_NO=`cat ibuild.txt`
 | 
						|
 | 
						|
#echo "Old Internal build No: " $INT_BLD_NO
 | 
						|
 | 
						|
#let INT_BLD_NO=$INT_BLD_NO+1
 | 
						|
#echo "New Internal build No: " $INT_BLD_NO
 | 
						|
 | 
						|
#$CCM co $CCM_PROJECT_DIR/make/ibuild.txt
 | 
						|
 | 
						|
#echo $INT_BLD_NO >ibuild.txt
 | 
						|
#$CCM task -ci default
 | 
						|
 | 
						|
 |