/[CCFs]/bin/buildagain
ViewVC logotype

Diff of /bin/buildagain

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

revision 1.2 by ccflib, Fri Nov 11 15:32:57 2005 UTC revision 1.4 by ccflib, Fri Nov 11 15:39:12 2005 UTC
# Line 1  Line 1 
1  #! /usr/local/bin/bash  #! /usr/local/bin/bash
2  #  #
3  # $Id: buildagain,v 1.1 2005/11/11 15:31:54 ccflib Exp $  # $Id: buildagain,v 1.3 2005/11/11 15:35:08 ccflib Exp $
4  #  #
5  # + Build again a specific set of CCF packages  # + Build again a specific set of CCF packages
6  #  #
# Line 11  Line 11 
11    
12  if [ -z "$1" ] ; then  if [ -z "$1" ] ; then
13     echo "Abort: No package to process defined"     echo "Abort: No package to process defined"
14     exit     exit -1
15  fi  fi
16    
17  pkg=$1  pkg=$1
# Line 63  rm -fr * Line 63  rm -fr *
63  mkdir packages || exit 1  mkdir packages || exit 1
64    
65  for p in $plist; do  for p in $plist; do
   
66     echo -n Unpacking `basename $p` ...     echo -n Unpacking `basename $p` ...
67     tar -C packages -xzf $p || (echo FAILED, aborting ; exit 1)  #   tar -C packages -xzf $p || (echo FAILED, aborting ; exit 1)
68     echo " done."     echo " done."
   
69  done  done
70    
71  # updating the dev directory for any possible change in its files  # updating the dev directory for any possible change in its files
# Line 83  cd ~- ; cd packages Line 81  cd ~- ; cd packages
81    
82    
83  for p in $plist; do  for p in $plist; do
84     thisp=`basename $p '.tgz' | sed -e 's/-[0-9]\{1,\}\.[0-9]\{1,\}$//'`     echo "making package $p"
85     buildpkg $thisp && (echo ok; mv $p $builtdir) || (echo FAILED ;   cat $builddir/build.log)  #   thisp=`basename $p '.tgz' | sed -e 's/-[0-9]\{1,\}\.[0-9]\{1,\}$//'`
86    #   buildpkg $thisp && (echo ok) || (echo FAILED ;   cat $builddir/build.log)
87  done  done
   
 ###emptypkgdir  

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

  ViewVC Help
Powered by ViewVC 1.1.27