/[CCFs]/bin/buildlatest
ViewVC logotype

Diff of /bin/buildlatest

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by ccflib, Tue Dec 2 15:56:07 2014 UTC revision 1.5 by ccflib, Fri Dec 12 10:30:51 2014 UTC
# Line 7  Line 7 
7  #  + 1: shell errors (cd mkdir ...)  #  + 1: shell errors (cd mkdir ...)
8  #  + 2: SAS set up cannot find deceit  #  + 2: SAS set up cannot find deceit
9  #  #
10  # $Id: buildlatest,v 1.3 2013/02/14 14:26:13 ccflib Exp $  # $Id: buildlatest,v 1.4 2014/12/02 15:56:07 ccflib Exp $
11    
12  cleanup () {  cleanup () {
13    cd ~    cd ~
# Line 21  buildpkg () { Line 21  buildpkg () {
21    (make -s -C $pkg clobber 2>&1 && make -s -C $pkg depend 2>&1 && make -s -C $pkg 2>&1) >> $builddir/build.log    (make -s -C $pkg clobber 2>&1 && make -s -C $pkg depend 2>&1 && make -s -C $pkg 2>&1) >> $builddir/build.log
22  }  }
23    
24    
25  . $HOME/bin/ccflib.cfg  . $HOME/bin/ccflib.cfg
26    
27  builtdir=~/deliveries/built  builtdir=${CCFLIB_HOME}/deliveries/built
28  mkdir -p $builtdir  mkdir -p $builtdir
29    
30  trap cleanup SIGINT  trap cleanup SIGINT
# Line 31  trap cleanup SIGINT Line 32  trap cleanup SIGINT
32  me=`basename $0`  me=`basename $0`
33  echo $me running on `date`  echo $me running on `date`
34    
35  PATH=$HOME/bin:$PATH  export PATH=${CCFLIB_HOME}/bin:$PATH
 export PATH  
   
36    
37  plist=`findlatest`  plist=`findlatest`
38    
# Line 46  saslatest Line 45  saslatest
45  deceit -v 2>&1 || (echo ERROR: deceit missing; exit 2)  deceit -v 2>&1 || (echo ERROR: deceit missing; exit 2)
46  ccfextseq -v 2>&1 || (echo ERROR: ccfextseq missing; exit 2)  ccfextseq -v 2>&1 || (echo ERROR: ccfextseq missing; exit 2)
47    
48  builddir=$HOME/builds/tmp  builddir=${CCFLIB_HOME}/builds/tmp
49  mv $builddir ${builddir}.old  mv $builddir ${builddir}.old
50  rm -fr ${builddir}.old &  rm -fr ${builddir}.old &
51  mkdir -p $builddir  mkdir -p $builddir
# Line 73  for p in $plist; do Line 72  for p in $plist; do
72  done  done
73    
74    
75  CCFDEV=$HOME/ccfdev  export CCFDEV=${CCFLIB_HOME}/ccfdev
76  cd $CCFDEV  cd $CCFDEV
77  cvs update 2> /dev/null  cvs update 2> /dev/null
78  cd ~-  cd ~-
 export CCFDEV  
79  . $CCFDEV/setup.sh  . $CCFDEV/setup.sh
80    
81  cd packages  cd packages

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.27