[CentOS-devel] Small patch for build/mkdvdiso.sh

Sat Apr 9 17:18:54 UTC 2005
John Allen <john.allen at dublinux.net>

That patch did not work, dur to a bug in the original script, here is one that 
does.

--- build/mkdvdiso.sh.orig      2005-04-09 18:03:56.000000000 +0100
+++ build/mkdvdiso.sh   2005-04-09 18:17:05.000000000 +0100
@@ -33,7 +33,7 @@
 mkdir -p $LOOP
 mkdir -p $DVD

-if [ !`ls $1/*.iso 2>&1>/dev/null ; echo $?` ]; then
+if [ ! `ls $1/*.iso > /dev/null 2>&1; echo $?` ]; then
        echo "Found ISO CD images..."
        CDS=`expr 0`
        DISKS="1"

-- 
John Allen,                          mailto:john.allen at dublinux.net
MandrakeClub Silver Member.          http://www.dublinux.net

Site of the day: http://www.kde.ie/

Mandrakelinux release 10.2 (Cooker) for i586, kernel 2.6.11-6mdk
 18:18:00 up  5:53,  6 users,  load average: 0.02, 0.19, 0.16