From 5b5f646079e8abe6d9b1f550aaf0e837b2f5ea13 Mon Sep 17 00:00:00 2001 From: Andrew Donnellan Date: Wed, 10 Dec 2025 13:43:04 +1100 Subject: all: replace egrep with grep -E The egrep command has been deprecated in GNU Grep since 2007, and nowadays using egrep rather than grep -E will print a warning to the user, which is very annoying. Replace all usages of egrep with grep -E. Signed-off-by: Andrew Donnellan --- pkg/build/linux_gen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg') diff --git a/pkg/build/linux_gen.sh b/pkg/build/linux_gen.sh index c4de59ce0..7803ce514 100755 --- a/pkg/build/linux_gen.sh +++ b/pkg/build/linux_gen.sh @@ -7,5 +7,5 @@ set -eu echo -en '// Code generated by pkg/build/linux.go. DO NOT EDIT.\n\n' > linux_generated.go echo -en 'package build\n\n' >> linux_generated.go echo -en 'const createImageScript = `#!/bin/bash\n' >> linux_generated.go -cat ../../tools/create-gce-image.sh | egrep -v '^\s*#' >> linux_generated.go +cat ../../tools/create-gce-image.sh | grep -E -v '^\s*#' >> linux_generated.go echo -en '`\n\n' >> linux_generated.go -- cgit mrf-deployment