代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/dkms 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
From 25077200289dfdc37c0e86ec4c86e4932137088e Mon Sep 17 00:00:00 2001
From: Morten Linderud <morten@linderud.pw>
Date: Sat, 10 Sep 2022 15:01:15 +0200
Subject: [PATCH] dkms: Change deprecated egrep for grep -E
New versions of grep is going to issue a warning when `egrep` is used.
egrep: warning: egrep is obsolescent; using grep -E
This changes the invocation to `grep -E`
Signed-off-by: Morten Linderud <morten@linderud.pw>
---
dkms | 2 +-
dkms.8 | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dkms b/dkms
index be00118..c4b9a26 100644
--- a/dkms
+++ b/dkms
@@ -1900,7 +1900,7 @@ remove_module()
done
# Delete the $module_version part of the tree if no other $module_version/$kernel_version dirs exist
- if ! find $dkms_tree/$module/$module_version/* -maxdepth 0 -type d 2>/dev/null | egrep -qv "(build|tarball|driver_disk|rpm|deb|source)$"; then
+ if ! find $dkms_tree/$module/$module_version/* -maxdepth 0 -type d 2>/dev/null | grep -Eqv "(build|tarball|driver_disk|rpm|deb|source)$"; then
echo $""
echo $"------------------------------"
echo $"Deleting module version: $module_version"
diff --git a/dkms.8 b/dkms.8
index 75b30de..86df63b 100644
--- a/dkms.8
+++ b/dkms.8
@@ -609,7 +609,7 @@ should be put into
.B MAKE[0].
Other entries in the MAKE array will only be used if their corresponding entry in
.B MAKE_MATCH[#]
-matches, as a regular expression (using egrep), the kernel that the module is being built for.
+matches, as a regular expression (using grep -E), the kernel that the module is being built for.
Note that if no value is placed in
.B MAKE_MATCH[#]
for any
--
2.27.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。