File: 0001-drop-duplicate-slash-from-path.patch

package info (click to toggle)
dkms 3.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,540 kB
  • sloc: sh: 6,525; ansic: 226; makefile: 189; perl: 91; python: 67
file content (25 lines) | stat: -rw-r--r-- 774 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From ae6d62a31a863be18c00ccaccddd995e76182f44 Mon Sep 17 00:00:00 2001
From: Andreas Beckmann <anbe@debian.org>
Date: Sat, 10 May 2025 03:16:55 +0200
Subject: [PATCH 1/3] drop duplicate slash from path

---
 dkms.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dkms.in b/dkms.in
index bbb1c37..8a26c8e 100644
--- a/dkms.in
+++ b/dkms.in
@@ -1020,7 +1020,7 @@ check_version_sanity()
         return 0
     fi
     local dkms_module
-    dkms_module=$(compressed_or_uncompressed "$dkms_tree/$module/$module_version/$1/$2/module/" "${4}")
+    dkms_module=$(compressed_or_uncompressed "$dkms_tree/$module/$module_version/$1/$2/module" "${4}")
 
     local cmp_res
     cmp_res="$(compare_module_version "${kernels_module}" "${dkms_module}")"
-- 
2.39.5