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 |
# |
# |
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 |
|
|
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 |
|
|
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 |