diff options
author | Jani Välimaa <wally@mageia.org> | 2022-09-03 21:26:29 +0300 |
---|---|---|
committer | Jani Välimaa <wally@mageia.org> | 2022-09-03 21:26:29 +0300 |
commit | 76c1a8834a4425e6cfcc477e9dd75c5b1e5129b6 (patch) | |
tree | 6361b3b633b3cbbbb2c80eab9fa6f6f188366b0f /devel.prov | |
parent | 689b85e0b601ca89ab62e87013b901489745df46 (diff) | |
download | rpm-setup-76c1a8834a4425e6cfcc477e9dd75c5b1e5129b6.tar rpm-setup-76c1a8834a4425e6cfcc477e9dd75c5b1e5129b6.tar.gz rpm-setup-76c1a8834a4425e6cfcc477e9dd75c5b1e5129b6.tar.bz2 rpm-setup-76c1a8834a4425e6cfcc477e9dd75c5b1e5129b6.tar.xz rpm-setup-76c1a8834a4425e6cfcc477e9dd75c5b1e5129b6.zip |
Replace obsolescent egrep with 'grep -E' in devel.prov and devel.req
Diffstat (limited to 'devel.prov')
-rw-r--r-- | devel.prov | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6,7 +6,7 @@ while read instfile ; do filelist="$filelist $instfile" done -for i in `echo $filelist | tr '[:blank:]' "\n" | egrep '(/usr)?/lib(|64)(/gcc(-lib)?/.+)?/[^/]+\.so$'`; do +for i in `echo $filelist | tr '[:blank:]' "\n" | grep -E '(/usr)?/lib(|64)(/gcc(-lib)?/.+)?/[^/]+\.so$'`; do objd=`objdump -p ${i} | grep SONAME` [ -h ${i} -a -n "${objd}" ] && \ lib64=`if file -L $i 2>/dev/null | grep "ELF 64-bit" >/dev/null; then echo "(64bit)"; fi` && \ |