git://git.jankratochvil.net
/
lufs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ac0c6a
)
Fixed kernel module compilation if invoked by mount(8).
author
short
<>
Wed, 19 Nov 2003 10:32:01 +0000
(10:32 +0000)
committer
short
<>
Wed, 19 Nov 2003 10:32:01 +0000
(10:32 +0000)
kernel/Linux/prepmod.in
patch
|
blob
|
history
diff --git
a/kernel/Linux/prepmod.in
b/kernel/Linux/prepmod.in
index
3d62d37
..
dbedeb5
100755
(executable)
--- a/
kernel/Linux/prepmod.in
+++ b/
kernel/Linux/prepmod.in
@@
-42,6
+42,10
@@
$kernel_gcc_args="";
sub modext { my($uname_r)=@_; ($uname_r lt "2.5" ? "o" : "ko"); }
+# mount(8) will util-linux/lib/env.c/sanitize_env()
+# including the clearance our $PATH:
+$ENV{"PATH"}=join(":",qw(/usr/local/bin /usr/bin /bin),$ENV{"PATH"});
+
my $lufsd_bin;
if ($0 eq "lufsd" || $0=~m#/lufsd$#) {
$quiet=1;