diff --git a/scripts/Create-ISO b/scripts/Create-ISO index a5a95596c..093428b77 100755 --- a/scripts/Create-ISO +++ b/scripts/Create-ISO @@ -169,7 +169,7 @@ done < $dat echo -n > $index for x in 0 $disks ; do dd=disk_${x}_data - for y in ${!dd} `cat ${pathspec}_${x}` ; do + for y in ${!dd} `cat ${pathspec}_${x} 2> /dev/null` ; do to=${y%=*} ; from=${y#*=} if [ -d $from ] ; then find $from -printf "disk$x $to%P\\n" >> $index @@ -219,7 +219,7 @@ for x in $disks ; do date "+ [%X] Creating ${isoprefix}_cd$x.iso ..." echo "This is disk #$x." > $dat # FIXME: current mkisofs does only accept one -path-list - cat ${pathspec}_${x} ${pathspec}_0 > ${pathspec}_current + cat ${pathspec}_${x} ${pathspec}_0 > ${pathspec}_current 2> /dev/null xxx -q -r -T -J -l -o ${isoprefix}_cd$x.iso -A "ROCK Linux - Disk $x" \ -P 'The ROCK Linux Project - http://www.rocklinux.org' \ -path-list ${pathspec}_current \