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:
ff37ebd
)
Fixed build if '/etc/debian_version' contains slashes ('/').
lufs_0_9_6_captive1
author
short
<>
Sun, 21 Sep 2003 07:55:50 +0000
(07:55 +0000)
committer
short
<>
Sun, 21 Sep 2003 07:55:50 +0000
(07:55 +0000)
kernel/Linux/prepmod.in
patch
|
blob
|
history
diff --git
a/kernel/Linux/prepmod.in
b/kernel/Linux/prepmod.in
index
da224a7
..
2811439
100755
(executable)
--- a/
kernel/Linux/prepmod.in
+++ b/
kernel/Linux/prepmod.in
@@
-260,6
+260,7
@@
my($dir)=@_;
my $vendor;
chomp (my $debian=_readfile "/etc/debian_version","optional");
+ $debian=~tr#/#_#;
$vendor="Debian".$debian if $debian && $dir=~m#^/usr/src/#;
my $uname_r;
$uname_r||=($dir=~m#/kernel-headers-([^/]+)/*$#)[0];