[packages/rpm-pld-macros] - egrep: warning: egrep is obsolescent; using grep -E, rel 3
baggins
baggins at pld-linux.org
Sun Sep 11 12:55:31 CEST 2022
commit b6c3f478bcc2d6084067bb07da6e504711a5a57d
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Sep 11 12:55:10 2022 +0200
- egrep: warning: egrep is obsolescent; using grep -E, rel 3
kmod-deps.sh | 6 +++---
rpm-pld-macros.spec | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/rpm-pld-macros.spec b/rpm-pld-macros.spec
index 77ac126..3118220 100644
--- a/rpm-pld-macros.spec
+++ b/rpm-pld-macros.spec
@@ -6,7 +6,7 @@ Summary: PLD Linux RPM macros
Summary(pl.UTF-8): Makra RPM dla Linuksa PLD
Name: rpm-pld-macros
Version: %{rpm_macros_rev}
-Release: 2
+Release: 3
License: GPL v2+
Group: Development/Building
Source0: macros.pld
diff --git a/kmod-deps.sh b/kmod-deps.sh
index a78598b..c9bee5e 100755
--- a/kmod-deps.sh
+++ b/kmod-deps.sh
@@ -3,7 +3,7 @@
# Kernel module dependency extractor.
#
# Author(s): Danny Tholen <obiwan at mandriva.org>
-# Olivier Blin <blino at mandriva.org>
+# Olivier Blin <blino at mandriva.org>
# Per Øyvind Karlsen <peroyvind at mandriva.org>
#
@@ -34,7 +34,7 @@ fi
if [ $provides -eq 1 ]; then
provideslist=`sed "s/['\"]/\\\&/g"`
- modulelist=$(echo "$provideslist" | egrep '^.*(/lib/modules/|/var/lib/dkms/).*\.ko(\.gz|\.xz)?$')
+ modulelist=$(echo "$provideslist" | grep -E '^.*(/lib/modules/|/var/lib/dkms/).*\.ko(\.gz|\.xz)?$')
echo $modulelist | xargs -r $modinfo | \
perl -lne '
$name = $1 if m!^filename:\s*(?:.*/)?([^/]+)\.k?o!;
@@ -45,7 +45,7 @@ if [ $provides -eq 1 ]; then
undef $name; undef $ver;
}
'
- dkmslist=$(echo "$provideslist" | egrep '(/var/lib/dkms-binary/[^/]+/[^/]+|/usr/src)/[^/]+/dkms.conf$')
+ dkmslist=$(echo "$provideslist" | grep -E '(/var/lib/dkms-binary/[^/]+/[^/]+|/usr/src)/[^/]+/dkms.conf$')
[ -n "$dkmslist" ] && for d in $dkmslist; do
VERSION=`sed -rne 's/^PACKAGE_VERSION="?([^"]+)"?$/\1/;T;p' $d`
[ -z "$VERSION" ] && continue
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpm-pld-macros.git/commitdiff/b6c3f478bcc2d6084067bb07da6e504711a5a57d
More information about the pld-cvs-commit
mailing list