From: hackbard Date: Mon, 16 Oct 2006 17:02:48 +0000 (+0000) Subject: strange return bug ... X-Git-Url: https://hackdaworld.org/gitweb/?a=commitdiff_plain;h=59dafa7b79a4e74dbb5b617bf41c3284b6bb8dcd;p=hdw-linux%2Fhdw-linux.git strange return bug ... --- diff --git a/packages/base/udev/udev b/packages/base/udev/udev index b715ebc..a939989 100644 --- a/packages/base/udev/udev +++ b/packages/base/udev/udev @@ -12,8 +12,8 @@ for i in ata_id cdrom_id dasd_id edd_id firmware floppy path_id \ extras="extras/$i $extras" done -make_conf="udevdir=/dev EXTRAS=\"$extras\" $make_conf" -install_conf="udevdir=/dev EXTRAS=\"$extras\"" +make_conf="udevdir=/dev EXTRAS=$extras $make_conf" +install_conf="udevdir=/dev EXTRAS=$extras" u_root=$root [ "$stage" = "1" ] && u_root=/${tc_name} @@ -35,6 +35,7 @@ post_install() { cp $confdir/init_udev.sh $u_root/etc/init.d/udev chmod 750 $u_root/etc/init.d/udev fi - [ ! -f $u_root/etc/udev/udev.conf ] && \ + if [ ! -f $u_root/etc/udev/udev.conf ] ; then cp -v $confdir/udev.conf $u_root/etc/udev/ + fi }