Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 8abaca718808f5de8d4ce0a27c7c282f > files > 10

dahdi-2.6.1-2.mga3.src.rpm

--- build_tools/genudevrules	2008-10-22 20:49:41.000000000 +0200
+++ build_tools/genudevrules	2009-09-29 09:33:19.000000000 +0200
@@ -1,14 +1,17 @@
 #!/bin/sh
 
-ver=`udevinfo -V | cut -f3 -d" "`
+ver=`/sbin/udevinfo -V | cut -f3 -d" "`
 
 if [ -z "${ver}" ]; then
    # Not found - try udevadm
-   ver=`udevadm info -V | cut -f3 -d" "`
+   ver=`/sbin/udevadm info -V | cut -f3 -d" "`
 
    if [ -z "${ver}" ]; then
-      # nobody has that old version, anyway.
-      ver=54
+      ver=`/sbin/udevadm info -V`
+      if [ -z "${ver}" ]; then
+         # nobody has that old version, anyway.
+	 ver=54
+      fi
    fi
 fi
 
--- Makefile~	2010-09-25 06:44:45.000000000 +0800
+++ Makefile	2013-01-16 09:42:07.000000000 +0800
@@ -47,7 +47,7 @@
   HOTPLUG_FIRMWARE:=$(shell if grep -q '^CONFIG_FW_LOADER=[ym]' $(KCONFIG); then echo "yes"; else echo "no"; fi)
 endif
 
-UDEV_DIR:=/etc/udev/rules.d
+UDEV_DIR:=/usr/lib/udev/rules.d
 
 MODULE_ALIASES:=wcfxs wctdm8xxp wct2xxp