diff options
author | Lukasz Gut <lgut@lgut.eu> | 2024-09-13 18:59:27 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-09-17 18:24:09 +0200 |
commit | de3631e7fd7ad27acfc27c35ab160742e7ccdb00 (patch) | |
tree | 6ebaa545236b150de64795688554e2567a8dfd35 | |
parent | ebc3837b0a28cfb1c337cba3172b6ca11b1fba53 (diff) | |
download | mbuto-master.tar mbuto-master.tar.gz mbuto-master.tar.bz2 mbuto-master.tar.lz mbuto-master.tar.xz mbuto-master.tar.zst mbuto-master.zip |
On arch linux using `egrep` emits a warning:
egrep: warning: egrep is obsolescent; using grep -E
Use `grep -E` where previously `egrep` was called.
Still keep `egrep` in PROGS list if someone wishes to call it inside of
VM.
Signed-off-by: Lukasz Gut <lgut@lgut.eu>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rwxr-xr-x | mbuto | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -242,7 +242,7 @@ profile_kselftests() { __pattern="$(list_join "${__colls}" '^' '$' '|')" __skip_targets="$(${AWK} '/^TARGETS/ { print $3}' ${__makefile} | \ - ${EGREP} -v "${__pattern}" | ${TR} '\n' ' ')" + ${GREP} -vE "${__pattern}" | ${TR} '\n' ' ')" ${RM} -rf "${__testpath}/kselftest_install" ${MAKE} SKIP_TARGETS="${__skip_targets}" -C ${__testpath} install \ @@ -262,7 +262,7 @@ profile_kselftests() { if [ ! -z "${__mods}" ]; then __pattern="$(list_join "${__mods}" '^obj-\$\(' '\).*.o$' '|')" __result="$(${BASENAME} -a -s .o \ - $(${EGREP} -rn --include "*Makefile" ${__pattern} | \ + $(${GREP} -rnE --include "*Makefile" ${__pattern} | \ ${TR} -d '+' | ${AWK} -F'=' '/=/ {print $2}'))" __find_pattern="$(list_join "${__result}" '-name ' '.ko ' '-o ')" |