/[CCFs]/bin/buildagain
ViewVC logotype

Diff of /bin/buildagain

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

revision 1.7 by ccflib, Fri Nov 11 15:43:38 2005 UTC revision 1.9 by ccflib, Fri Nov 11 16:07:24 2005 UTC
# Line 1  Line 1 
1  #! /usr/local/bin/bash  #! /usr/local/bin/bash
2  #  #
3  # $Id: buildagain,v 1.6 2005/11/11 15:42:25 ccflib Exp $  # $Id: buildagain,v 1.8 2005/11/11 15:45:20 ccflib Exp $
4  #  #
5  # + Build again a specific set of CCF packages  # + Build again a specific set of CCF packages
6  #  #
# Line 10  Line 10 
10  #  + 2: SAS set up cannot find deceit  #  + 2: SAS set up cannot find deceit
11    
12  if [ -z $1 ] ; then  if [ -z $1 ] ; then
13     echo "Abort: No package to process defined"     echo "Abort: Undefined package to process again"
14     exit -1     exit -1
15  fi  fi
16    
# Line 63  mkdir packages || exit 1 Line 63  mkdir packages || exit 1
63    
64  for p in $plist; do  for p in $plist; do
65     echo -n Unpacking `basename $p` ...     echo -n Unpacking `basename $p` ...
66  #   tar -C packages -xzf $p || (echo FAILED, aborting ; exit 1)     tar -C packages -xzf $p || (echo FAILED, aborting ; exit 1)
67     echo " done."     echo " done."
68  done  done
69    
# Line 81  cd ~- ; cd packages Line 81  cd ~- ; cd packages
81    
82  for p in $plist; do  for p in $plist; do
83     echo "making package $p"     echo "making package $p"
84  #   thisp=`basename $p '.tgz' | sed -e 's/-[0-9]\{1,\}\.[0-9]\{1,\}$//'`     thisp=`basename $p '.tgz' | sed -e 's/-[0-9]\{1,\}\.[0-9]\{1,\}$//'`
85  #   buildpkg $thisp && (echo ok) || (echo FAILED ;   cat $builddir/build.log)     buildpkg $thisp && (echo ok) || (echo FAILED ;   cat $builddir/build.log)
86  done  done

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.27