]> hackdaworld.org Git - hdw-linux/hdw-linux.git/commitdiff
strange return bug ...
authorhackbard <hackbard>
Mon, 16 Oct 2006 17:02:48 +0000 (17:02 +0000)
committerhackbard <hackbard>
Mon, 16 Oct 2006 17:02:48 +0000 (17:02 +0000)
packages/base/udev/udev

index b715ebc7344e28d624706db7fb04ef29fdf5cc18..a939989bc12296be5c0a143e6462f1f1bda31598 100644 (file)
@@ -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
                }