Jetzt ist auch wirklich alles bzip2 comprimiert

git-svn-id: svn://svn.compuextreme.de/Viitor/V962/ViitorMake@4890 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
kueller 2009-11-18 08:23:12 +00:00
parent 46cd9c6b4f
commit 0d6acda262

View File

@ -109,7 +109,7 @@ fi
ARCHCONTENTS="bin.drg bin.frg bin.md5 bin.tar dev.drg dev.frg dev.md5 dev.tar man.drg man.frg man.md5 man.tar" ARCHCONTENTS="bin.drg bin.frg bin.md5 bin.tar dev.drg dev.frg dev.md5 dev.tar man.drg man.frg man.md5 man.tar"
DEPFILE=$TMPROOT/../$$/dep DEPFILE=$TMPROOT/../$$/dep
METAFILE=$TMPROOT/../$$/dep METAFILE=$TMPROOT/../$$/meta
WDIR=`pwd` WDIR=`pwd`
source $VMAKEDIR/functions/functions source $VMAKEDIR/functions/functions
@ -140,10 +140,8 @@ fi
GenDependics $TMPROOT >/tmp/deps$$ GenDependics $TMPROOT >/tmp/deps$$
if [ -f /tmp/deps$$ ]; then if [ -f /tmp/deps$$ ]; then
for i in `cat /tmp/deps$$`; do for i in `cat /tmp/deps$$`; do
echo "WARN $i" >>$DEPFILE echo "WARN $i"
done done |bzip2 -c >$DEPFILE
bzip2 $DEPFILE
mv $DEPFILE.bz2 $DEPFILE
rm /tmp/deps$$ rm /tmp/deps$$
fi fi
@ -211,13 +209,12 @@ if [ -d $DEVTMPROOT ]; then
fi fi
EndDispatch EndDispatch
echo "ModuleName: $SHORTNAME" >$METAFILE echo -e "ModuleName: $SHORTNAME\n" \
echo "Module Version: $MODVERSION" >>$METAFILE "Module Version: $MODVERSION\n" \
echo "Quellen: $MODSRC" >>$METAFILE "Quellen: $MODSRC" \
echo "Description:" >>$METAFILE "Description:" \
echo "$DESCRIPT" >>$METAFILE "$DESCRIPT" |\
bzip2 $METAFILE bzip2 -c >$METAFILE
mv $METAFILE.bz2 $METAFILE
cd $TMPROOT/../$$ cd $TMPROOT/../$$
if [ -f $DEPFILE ]; then if [ -f $DEPFILE ]; then
@ -230,6 +227,11 @@ if [ -f $METAFILE ]; then
else else
LINE=$LINE"0 " LINE=$LINE"0 "
fi fi
for i in *.frg *.drg *.md5; do
bzip2 $i
mv $i.bz2 $i
done
for i in $ARCHCONTENTS; do for i in $ARCHCONTENTS; do
if [ -f $i ]; then if [ -f $i ]; then
LINE=$LINE"`wc -c $i|awk '{print $1}'` " LINE=$LINE"`wc -c $i|awk '{print $1}'` "