generate list files directly while we still have the CD tree available

This commit is contained in:
Steve McIntyre 2011-03-24 02:08:58 +00:00
parent 32b3a4d4cb
commit 3c3d7049ca
1 changed files with 6 additions and 3 deletions

View File

@ -119,9 +119,12 @@ do
echo $CMD
echo $CMD > CD$n/.disk/mkisofs
eval "$CMD"
if [ $ISO_WANTED = 1 ] ; then
chmod +r $OUT/$OUTFILE.iso
fi
if [ $ISO_WANTED = 1 ] ; then
chmod +r $OUT/$OUTFILE.iso
fi
# Generate our listfile while we have the information to hand easily
find CD$n/pool -type f | sed 's?^.*/??g' | gzip -9 > $OUT/$OUTFILE.list.gz
fi
# If we've made jigdo files, tweak them with extra info now