From e84936aa1cfb56298f4c4a02f498930ce26d76e7 Mon Sep 17 00:00:00 2001 From: Andrew Lukoshko Date: Tue, 31 Mar 2026 12:47:26 +0000 Subject: [PATCH] Fix trailing whitespace breaking find -exec in script Remove trailing spaces after backslash on line continuation, which caused 'find: missing argument to -exec'. --- files/add-almalinux10-support.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/add-almalinux10-support.sh b/files/add-almalinux10-support.sh index 8508ee9..56422cb 100644 --- a/files/add-almalinux10-support.sh +++ b/files/add-almalinux10-support.sh @@ -86,7 +86,7 @@ if [ -d products/almalinux10/controls ]; then -e 's/RHEL-10/ALMALINUX-10/g' \ -e 's/RHEL/AlmaLinux/g' \ -e 's/Red Hat/AlmaLinux/g' \ - -e '/^id:/s/rhel10/almalinux10/g' \ + -e '/^id:/s/rhel10/almalinux10/g' \ -e '/^product:/s/rhel10/almalinux10/g' \ -e 's/ensure_redhat_gpgkey_installed/ensure_almalinux_gpgkey_installed/g' {} \; fi