file: comp_ontime.bat
==================================================
cd C:\cygwin\home\vincent\mybin
C:\cygwin\bin\bash.exe OnTimeComp.sh
==================================================
file: OnTimeComp.sh
==================================================
#! /bin/bash -
#######################################################################
# File_name: OnTimeComp.sh
# Author : Vincent.chen
# Date : 2009-02-01
# Platform : Cygwin Platform
# Feature : in order to complie project with 52 platform
# this script will update the latest files and complite it
#######################################################################
# project path under clearcase control
prj_path="/cygdrive/d/vyp380"
pushd .
# changed current work directory to project
cd $prj_path
# updated the project files with config specification, usually Latest version
# so you must change the CS(config spec) to latest one.
# -f option indicate ignore prompt when interactive.
# The update result is under current directory.
# more detail pls read manual use command "cleartool man update".
cleartool update -f
# for 52 platform
cd "5210"
# execute the complite evironment for 52
~/mybin/cmd_52.sh
popd
==================================================
file: cmd_52.sh
==================================================
#! /bin/tcsh -x
prod -u
prod -cp
exit 0
==================================================
阅读(1229) | 评论(0) | 转发(0) |