r3301 - in trunk/utils/initrd-tools: . debian

maximilian attems maks-guest@costa.debian.org
Tue, 07 Jun 2005 21:34:29 +0000


Author: maks-guest
Date: 2005-06-07 21:34:28 +0000 (Tue, 07 Jun 2005)
New Revision: 3301

Modified:
   trunk/utils/initrd-tools/debian/changelog
   trunk/utils/initrd-tools/mkinitrd
Log:
fix module_exists


Modified: trunk/utils/initrd-tools/debian/changelog
===================================================================
--- trunk/utils/initrd-tools/debian/changelog	2005-06-07 21:27:41 UTC (rev 3300)
+++ trunk/utils/initrd-tools/debian/changelog	2005-06-07 21:34:28 UTC (rev 3301)
@@ -3,7 +3,10 @@
   * Simon Horman
     - Fix typo in mkinitrd.conf.5 managment->management
       from A Costa <agcosta@gis.net>. (closes: #311034)
-    - mention the team in the mkinitrd header.
+  * Maximilian Attems
+    - Mention the team in the mkinitrd header.
+    - Fix module_exists function thanks to patch from
+      Andreas Schultz <aschultz@warp10.net> closes: #312213
 
  -- Simon Horman <horms@debian.org>  Tue,  7 Jun 2005 13:05:04 +0900
 

Modified: trunk/utils/initrd-tools/mkinitrd
===================================================================
--- trunk/utils/initrd-tools/mkinitrd	2005-06-07 21:27:41 UTC (rev 3300)
+++ trunk/utils/initrd-tools/mkinitrd	2005-06-07 21:34:28 UTC (rev 3301)
@@ -415,7 +415,7 @@
 }
 
 module_exists() {
-	[ -n "$(find "$MODULEDIR/kernel/${1%%/*}" -name "${1##*/}.$o")" ]
+	[ -n "$(find "$MODULEDIR/kernel/${1%/*}" -name "${1##*/}.$o")" ]
 }
 
 print_module() {