public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Morgan Lee <me@morgan.kr>
To: git-commits@fedoraproject.org
Subject: [rpms/sdubby] epel10: awk separate inplace loader files
Date: Tue, 07 Jul 2026 07:20:14 GMT	[thread overview]
Message-ID: <178340881490.1.5314474752787200438.rpms-sdubby-432177aceda3@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/sdubby
            Branch : epel10
            Commit : 432177aceda33ccc3c684757d6d64762bbccfb79
            Author : Morgan Lee <me@morgan.kr>
            Date   : 2023-09-20T15:21:53-05:00
            Stats  : +6/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/sdubby/c/432177aceda33ccc3c684757d6d64762bbccfb79?branch=epel10

            Log:
            awk separate inplace loader files

separate inplace of awk, for each loader file.

Tweaks: Jeremy Linton (slight whitespace/spelling tweaks)

---
diff --git a/updateloaderentries.sh b/updateloaderentries.sh
index c35dd4a..bc59c83 100755
--- a/updateloaderentries.sh
+++ b/updateloaderentries.sh
@@ -117,7 +117,12 @@ case "$utilmode" in
 	fi
 	;;
     merge)
-        /usr/bin/awk -i inplace "$FIXCMDLINE" /boot/efi/loader/entries/*
+	for i in /boot/efi/loader/entries/*; do
+	    if [[ -f "$i" ]]; then
+		/usr/bin/awk -i inplace "$FIXCMDLINE" "$i";
+	    fi
+	done
+        
         # just in case, relink if needed
         if ! [[ -e /sbin/installkernel ]]; then
 	    /usr/bin/ln -s /usr/bin/kernel-install /sbin/installkernel

                 reply	other threads:[~2026-07-07  7:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178340881490.1.5314474752787200438.rpms-sdubby-432177aceda3@fedoraproject.org \
    --to=me@morgan.kr \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox