aboutsummaryrefslogtreecommitdiff
path: root/gnu/build/linux-modules.scm
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2019-01-25 18:23:19 +0100
committerDanny Milosavljevic <dannym@scratchpost.org>2019-01-25 18:24:00 +0100
commit519be98c3536b5113cde368f9dc6db2e1ebe073e (patch)
treeb80e42ea75f258d16c7b2ba6a1c39564be944a5a /gnu/build/linux-modules.scm
parent1a5f46621b44aa1458ad7acd4eca5fe1d4574f92 (diff)
downloadpatches-519be98c3536b5113cde368f9dc6db2e1ebe073e.tar
patches-519be98c3536b5113cde368f9dc6db2e1ebe073e.tar.gz
linux-modules: module-soft-dependencies: Remove colon from section names.
Follow-up to 1a5f46621b44aa1458ad7acd4eca5fe1d4574f92. * gnu/build/linux-modules.scm (module-soft-dependencies): Remove colon from section names.
Diffstat (limited to 'gnu/build/linux-modules.scm')
-rw-r--r--gnu/build/linux-modules.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/build/linux-modules.scm b/gnu/build/linux-modules.scm
index a28908fe4d..d69bcbf5a2 100644
--- a/gnu/build/linux-modules.scm
+++ b/gnu/build/linux-modules.scm
@@ -114,7 +114,7 @@ contains module names, not actual file names."
(match tokens
((token rest ...)
(if (string=? (string-take-right token 1) ":") ; section
- (loop value rest (string-trim-both token))
+ (loop value rest (string-trim-both (string-drop-right token 1)))
(loop (cons (cons section token) value) rest section)))
(()
value))))