forked from mirrors/nixpkgs
change patch so we get the right path
svn path=/nixpkgs/trunk/; revision=5967
This commit is contained in:
parent
4961c5e3e1
commit
9ec98e5d19
|
@ -41,7 +41,7 @@ diff -rc module-init-tools-3.2.2/depmod.c module-init-tools-3.2.2.new/depmod.c
|
|||
all = 1;
|
||||
|
||||
+ if((module_dir = getenv("MODULE_DIR")) == NULL) {
|
||||
+ module_dir = "/lib/modules";
|
||||
+ module_dir = "/lib/modules/";
|
||||
+ }
|
||||
+
|
||||
dirname = NOFAIL(malloc(strlen(basedir)
|
||||
|
|
Loading…
Reference in a new issue