public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH 1/1] aesthetic changes in module.inc
@ 2022-09-18 20:54 Roberto A. Foglietta
  2022-09-23 13:36 ` Anton Mikanovich
  0 siblings, 1 reply; 4+ messages in thread
From: Roberto A. Foglietta @ 2022-09-18 20:54 UTC (permalink / raw)
  To: isar-users


[-- Attachment #1.1: Type: text/plain, Size: 75 bytes --]

Hi all,

 nothing else than an aesthetic changes in module.inc

Cheers, R-

[-- Attachment #1.2: Type: text/html, Size: 152 bytes --]

[-- Attachment #2: 0001-aesthetic-changes-in-module.inc.patch --]
[-- Type: text/x-patch, Size: 909 bytes --]

From a1200eb45dd833f0d42e162c46080ecdd1dd3900 Mon Sep 17 00:00:00 2001
From: "Roberto A. Foglietta" <roberto.foglietta@gmail.com>
Date: Sun, 18 Sep 2022 22:43:25 +0200
Subject: [PATCH] aesthetic changes in module.inc

Signed-off-by: Roberto A. Foglietta <roberto.foglietta@gmail.com>
---
 meta/recipes-kernel/linux-module/module.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-kernel/linux-module/module.inc b/meta/recipes-kernel/linux-module/module.inc
index b20ec32..0a722b6 100644
--- a/meta/recipes-kernel/linux-module/module.inc
+++ b/meta/recipes-kernel/linux-module/module.inc
@@ -33,6 +33,6 @@ do_prepare_build() {
     cp -r ${WORKDIR}/debian ${S}/
 
     for module in ${AUTOLOAD}; do
-        echo "echo $module >> /etc/modules" >> ${S}/debian/postinst
-    done
+        echo "echo $module >> /etc/modules"
+    done >> ${S}/debian/postinst
 }
-- 
2.34.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/1] aesthetic changes in module.inc
  2022-09-18 20:54 [PATCH 1/1] aesthetic changes in module.inc Roberto A. Foglietta
@ 2022-09-23 13:36 ` Anton Mikanovich
  2022-09-23 14:19   ` Roberto A. Foglietta
  2022-09-23 15:04   ` Roberto A. Foglietta
  0 siblings, 2 replies; 4+ messages in thread
From: Anton Mikanovich @ 2022-09-23 13:36 UTC (permalink / raw)
  To: Roberto A. Foglietta, isar-users

[-- Attachment #1: Type: text/plain, Size: 328 bytes --]

18.09.2022 23:54, Roberto A. Foglietta wrote:
> Hi all,
>
>  nothing else than an aesthetic changes in module.inc
>
> Cheers, R-

Hello Roberto,

Despite the fact that both versions work, the original one looks more 
readable.
There is no need in complicating git blame history for such a cosmetic 
change.
This one rejected.

[-- Attachment #2: Type: text/html, Size: 1309 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/1] aesthetic changes in module.inc
  2022-09-23 13:36 ` Anton Mikanovich
@ 2022-09-23 14:19   ` Roberto A. Foglietta
  2022-09-23 15:04   ` Roberto A. Foglietta
  1 sibling, 0 replies; 4+ messages in thread
From: Roberto A. Foglietta @ 2022-09-23 14:19 UTC (permalink / raw)
  To: Anton Mikanovich; +Cc: isar-users

[-- Attachment #1: Type: text/plain, Size: 42 bytes --]

>
> This one rejected.
>
> Ok, thanks. R-

[-- Attachment #2: Type: text/html, Size: 468 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/1] aesthetic changes in module.inc
  2022-09-23 13:36 ` Anton Mikanovich
  2022-09-23 14:19   ` Roberto A. Foglietta
@ 2022-09-23 15:04   ` Roberto A. Foglietta
  1 sibling, 0 replies; 4+ messages in thread
From: Roberto A. Foglietta @ 2022-09-23 15:04 UTC (permalink / raw)
  To: Anton Mikanovich; +Cc: isar-users

[-- Attachment #1: Type: text/plain, Size: 731 bytes --]

Il Ven 23 Set 2022, 15:36 Anton Mikanovich <amikan@ilbers.de> ha scritto:

> 18.09.2022 23:54, Roberto A. Foglietta wrote:
>
> Hi all,
>
>  nothing else than an aesthetic changes in module.inc
>
> Cheers, R-
>
> Hello Roberto,
>
> Despite the fact that both versions work, the original one looks more
> readable.
> There is no need in complicating git blame history for such a cosmetic
> change.
> This one rejected.
>

Just an aesthetic consideration: original script open and close a file
descriptor each time it does a for cicle. My suggestion, open and close a
single time the that file descriptor.

Aesthetic, unless you have to go to the moon but then no bash/shell for
sure. 😊

Cheers, R-

>

[-- Attachment #2: Type: text/html, Size: 1762 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-09-23 15:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-18 20:54 [PATCH 1/1] aesthetic changes in module.inc Roberto A. Foglietta
2022-09-23 13:36 ` Anton Mikanovich
2022-09-23 14:19   ` Roberto A. Foglietta
2022-09-23 15:04   ` Roberto A. Foglietta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox