9 |
# + 1: shell errors (cd mkdir ...) |
# + 1: shell errors (cd mkdir ...) |
10 |
# + 2: SAS set up cannot find deceit |
# + 2: SAS set up cannot find deceit |
11 |
# |
# |
12 |
# $Id$ |
# $Id: buildlatest,v 1.2 2003/11/26 10:50:47 ccflib Exp $ |
13 |
|
|
14 |
cleanup () { |
cleanup () { |
15 |
cd ~ |
cd ~ |
64 |
echo -n Unpacking `basename $p` ... |
echo -n Unpacking `basename $p` ... |
65 |
tar -C packages -xzf $p || (echo FAILED, aborting ; exit 1) |
tar -C packages -xzf $p || (echo FAILED, aborting ; exit 1) |
66 |
echo " done." |
echo " done." |
67 |
|
mkdir tmplog || exit 1 |
68 |
|
tar -C tmplog -xzf $p || (echo FAILED, aborting ; exit 1) |
69 |
|
chmod -R a+w tmplog |
70 |
|
tmpdir=`ls -1 tmplog` |
71 |
|
echo "ChangeLog says:" |
72 |
|
last_version tmplog/$tmpdir/ChangeLog |
73 |
|
rm -fr tmplog |
74 |
|
|
75 |
done |
done |
76 |
|
|