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