Always create an empty mkisofs_dirs file for each image; stop warnings about missing files later when we source them in

This commit is contained in:
Steve McIntyre 2006-12-19 17:15:16 +00:00
parent 61c1630ab1
commit 4bb6ee2bbe
1 changed files with 3 additions and 1 deletions

View File

@ -238,10 +238,12 @@ if [ $DISKNUM = 1 ] ; then
done
fi
# Create an empty dirs file; will be appended to later if needed
> $BDIR/$DISKNUM.mkisofs_dirs
# Common stuff for all disks
if [ "$SOURCEONLY"x = "yes"x ] ; then
echo -n "-J " >> $BDIR/$DISKNUM.mkisofs_opts
> $BDIR/$DISKNUM.mkisofs_dirs
else
echo " Adding common docs on binary CD#$DISKNUM"
add-bin-doc $DISKNUM "$ARCHES"