rpm de jp...

This commit is contained in:
Olivier Sirol 2002-10-31 16:12:31 +00:00
parent 49c6dafed4
commit d9d3489a97
1 changed files with 15 additions and 9 deletions

View File

@ -4,11 +4,11 @@
# Copyright (C) 1999, 2000 Czo <Olivier.Sirol@lip6.fr>
# License: GPL (http://www.gnu.org/copyleft/gpl.html)
# Started: April 2000
# Last Change: Thursday 10 October 2002, 18:42
# Edit Time: 207:26:11
# Last Change: Thursday 31 October 2002, 17:11
# Edit Time: 207:38:04
# Description:
#
# $Id: mkdistrib,v 1.8 2002/10/10 16:42:58 czo Exp $
# $Id: mkdistrib,v 1.9 2002/10/31 16:12:31 czo Exp $
#
###################################################################
@ -20,7 +20,7 @@ ALC_DISTRIBDIR=/users/soft5/newlabo/distrib
ALC_WKSLIST="bip beny"
ALC_FTPDISTRIBDIR=/users/largo2/ftp/pub/alliance/distribution/5.0
ALC_LOGFILE=/tmp/albuild.$$
ALC_FULL_LOGFILE="$ALC_DISTRIBDIR/alliance-mkdistrib-$$.log"
ALC_FULL_LOGFILE="$ALC_DISTRIBDIR/amkdistrib.log"
ALC_RELEASE=`date +%Y%m%d`
ALC_VERSION=5.0
@ -106,12 +106,13 @@ else
fi
}
echo "%%%%%%%%%%%%%%% mk-distrib"
try cd $ALC_DISTRIBDIR
###################################################################
(
((
echo "%%%%%%%%%%%%%%% mk-distrib"
try cd $ALC_DISTRIBDIR
echo "%%%%%%%%%%%%%%% Removing old test..."
mkdir $ALC_TMPDIR
@ -176,12 +177,17 @@ done
try mv $ALC_PACK-bip.tar.gz $ALC_PACK-i386-linux-2.4.9.tar.gz
try mv $ALC_PACK-beny.tar.gz $ALC_PACK-sparc-solaris-2.7.tar.gz
try rpm -ta $ALC_PACK.tar.gz
# plus de generation rpm, cp ceux de jpc
# try rpm -ta $ALC_PACK.tar.gz
try cp -f "$ALC_PACK.tar.gz" $ALC_FTPDISTRIBDIR
try cp -f "$ALC_PACK-i386-linux-2.4.9.tar.gz" $ALC_FTPDISTRIBDIR
try cp -f "$ALC_PACK-sparc-solaris-2.7.tar.gz" $ALC_FTPDISTRIBDIR
try cp -f "/dsk/l1/tmp/czo/rpm/RPMS/i386/$ALC_PACK.i386.rpm" $ALC_FTPDISTRIBDIR
# plus de generation rpm, cp ceux de jpc
# try cp -f "/dsk/l1/tmp/czo/rpm/RPMS/i386/$ALC_PACK.i386.rpm" $ALC_FTPDISTRIBDIR
try cp -fp /usr/src/redhat/RPMS/i386/alliance*.rpm $ALC_FTPDISTRIBDIR
try cp -fp /usr/src/redhat/SRPMS/alliance*.rpm $ALC_FTPDISTRIBDIR
) | perl -ne '$|=1; printf("%s%s", "", $_)' ) 2>&1 | perl -ne '$|=1; printf("%s%s%s", "", $_, "")'