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

View file

@ -14,10 +14,10 @@ for pakfile in $*; do
mkdir ${tmp} mkdir ${tmp}
cd ${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 mv ${pakfile} ${pakfile}.bak
gzip -rv9 * gzip -rv9 *
pak vcf ${pakfile} `zcat pakfile.lst.gz` pak -vcf ${pakfile} `zcat pakfile.lst.gz`
cd - cd -
rm -rf ${tmp} rm -rf ${tmp}
done done