packages: udev/start_udev - trim slash from $udev_root to support ancient u...

glen glen at pld-linux.org
Fri Mar 30 00:38:56 CEST 2012


Author: glen                         Date: Thu Mar 29 22:38:56 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- trim slash from $udev_root to support ancient udev.conf
  see http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2012-March/022566.html

---- Files affected:
packages/udev:
   start_udev (1.49 -> 1.50) 

---- Diffs:

================================================================
Index: packages/udev/start_udev
diff -u packages/udev/start_udev:1.49 packages/udev/start_udev:1.50
--- packages/udev/start_udev:1.49	Fri Mar 30 00:36:16 2012
+++ packages/udev/start_udev	Fri Mar 30 00:38:51 2012
@@ -35,6 +35,8 @@
 prog=udev
 bin=/sbin/udev
 udevd=/lib/udev/udevd
+# trim traling slash, code expects it not to be there
+udev_root=${udev_root%/}
 
 make_extra_nodes () {
 	grep '^[^#]' /etc/udev/links.conf | \
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/udev/start_udev?r1=1.49&r2=1.50



More information about the pld-cvs-commit mailing list