Chinaunix首页 | 论坛 | 博客
  • 博客访问: 956837
  • 博文数量: 116
  • 博客积分: 3923
  • 博客等级: 中校
  • 技术积分: 1337
  • 用 户 组: 普通用户
  • 注册时间: 2009-04-23 01:22
文章分类

全部博文(116)

文章存档

2013年(1)

2012年(17)

2011年(69)

2009年(29)

分类: LINUX

2009-04-30 21:56:42

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) |
给主人留下些什么吧!~~