/[CCFs]/bin/buildlatest
ViewVC logotype

Diff of /bin/buildlatest

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

revision 1.2 by ccflib, Wed Nov 26 10:50:47 2003 UTC revision 1.4 by ccflib, Tue Dec 2 15:56:07 2014 UTC
# Line 1  Line 1 
1  #! /usr/local/bin/bash  #! /bin/bash
 #  
 # Giuseppe vacanti, January 2000  
2  #  #
3  # + Build the latest set of CCF packages  # + Build the latest set of CCF packages
4  #  #
# Line 9  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$  # $Id: buildlatest,v 1.3 2013/02/14 14:26:13 ccflib Exp $
11    
12  cleanup () {  cleanup () {
13    cd ~    cd ~
# Line 31  mkdir -p $builtdir Line 29  mkdir -p $builtdir
29  trap cleanup SIGINT  trap cleanup SIGINT
30    
31  me=`basename $0`  me=`basename $0`
32  ##echo $me running on `date`  echo $me running on `date`
33    
34  PATH=$HOME/bin:$PATH  PATH=$HOME/bin:$PATH
35  export PATH  export PATH
# Line 64  for p in $plist; do Line 62  for p in $plist; do
62     echo -n Unpacking `basename $p` ...     echo -n Unpacking `basename $p` ...
63     tar -C packages -xzf $p || (echo FAILED, aborting ; exit 1)     tar -C packages -xzf $p || (echo FAILED, aborting ; exit 1)
64     echo " done."     echo " done."
65       mkdir tmplog || exit 1
66       tar -C tmplog -xzf $p || (echo FAILED, aborting ; exit 1)
67       chmod -R a+w tmplog
68       tmpdir=`ls -1 tmplog`
69       echo "ChangeLog says:"
70       last_version tmplog/$tmpdir/ChangeLog
71       rm -fr tmplog  
72    
73  done  done
74    

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

  ViewVC Help
Powered by ViewVC 1.1.27