Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- From 8df1993334e10f6cc74970f5ff23f6309b32ce8d Mon Sep 17 00:00:00 2001
- From: Fredrik Rinnestam <fredrik@crux.nu>
- Date: Fri, 20 Jan 2023 14:24:39 +0100
- Subject: [PATCH] pkgmk: use grep -E to avoid warnings
- ---
- pkgmk.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
- diff --git a/pkgmk.in b/pkgmk.in
- index 9bf381d7..13e5ebc7 100644
- --- a/pkgmk.in
- +++ b/pkgmk.in
- @@ -514,7 +514,7 @@ check_footprint() {
- sed 's/^-/MISSING /g' > $FILE.footprint.diff
- if [ -s $FILE.footprint.diff ]; then
- if [ "$PKGMK_IGNORE_NEW" = "yes" ] && \
- - [ -z "$(egrep -l ^MISSING $FILE.footprint.diff)" ] ; then
- + [ -z "$(grep -E -l ^MISSING $FILE.footprint.diff)" ] ; then
- info "New files found:"
- else
- error "Footprint mismatch found:"
- --
- 2.39.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement