modprobe: cleanup relative/absolute module path handling
commitcd977aef4cfbeccd9648e87853aa6ff42e020cb1
authorJon Masters <jcm@jonmasters.org>
Fri, 23 Jan 2009 07:06:54 +0000 (23 02:06 -0500)
committerJon Masters <jcm@jonmasters.org>
Fri, 23 Jan 2009 07:06:54 +0000 (23 02:06 -0500)
tree4890f8c96945b20dae81a1605793d4dfff42a49b
parent5978114880d546a774322c4b58f274e2371e46b2
modprobe: cleanup relative/absolute module path handling

The modules specified in modules.dep|modules.dep.bin might contain
either absolute paths, or relative module paths (with respect to the
MODULE_DIR or basedir). The previous check for this was silly compared
with just looking for the leading '/' and I've no idea why it happened.

Signed-off-by: Jon Masters <jcm@jonmasters.org>
modprobe.c