Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-release-src > by-pkgid > a437a0e01b03e2b1852ccb1d289b0206 > files > 13

dahdi-2.7.0.1-5.mga5.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