make zpak work with the new pak

This commit is contained in:
Bill Currie 2002-03-18 22:16:37 +00:00
parent b4b14b096f
commit 2338d0c157
1 changed files with 2 additions and 2 deletions

View File

@ -14,10 +14,10 @@ for pakfile in $*; do
mkdir ${tmp}
cd ${tmp}
pak vxf ${pakfile} | sed -e 's/$/.gz/' > pakfile.lst
pak -vxf ${pakfile} | sed -e 's/$/.gz/' > pakfile.lst
mv ${pakfile} ${pakfile}.bak
gzip -rv9 *
pak vcf ${pakfile} `zcat pakfile.lst.gz`
pak -vcf ${pakfile} `zcat pakfile.lst.gz`
cd -
rm -rf ${tmp}
done