* [PATCH] build: avoid bashism in configure
@ 2025-12-05 23:43 Jan Palus
2025-12-06 11:55 ` [nftables PATCH] " Jan Palus
2025-12-06 16:17 ` [PATCH] " Pablo Neira Ayuso
0 siblings, 2 replies; 3+ messages in thread
From: Jan Palus @ 2025-12-05 23:43 UTC (permalink / raw)
To: netfilter-devel; +Cc: Jan Palus
Signed-off-by: Jan Palus <jpalus@fastmail.com>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 6825474b..dd172e88 100644
--- a/configure.ac
+++ b/configure.ac
@@ -157,7 +157,7 @@ AC_CONFIG_COMMANDS([nftversion.h], [
echo " ${STABLE_RELEASE}"
echo "};"
echo "static char nftbuildstamp[[]] = {"
- for ((i = 56; i >= 0; i-= 8)); do
+ for i in `seq 56 -8 0`; do
echo " ((uint64_t)MAKE_STAMP >> $i) & 0xff,"
done
echo "};"
--
2.52.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [nftables PATCH] build: avoid bashism in configure
2025-12-05 23:43 [PATCH] build: avoid bashism in configure Jan Palus
@ 2025-12-06 11:55 ` Jan Palus
2025-12-06 16:17 ` [PATCH] " Pablo Neira Ayuso
1 sibling, 0 replies; 3+ messages in thread
From: Jan Palus @ 2025-12-06 11:55 UTC (permalink / raw)
To: netfilter-devel
Sorry I've missed to indicate in subject it's a patch for nftables.
On 06.12.2025 00:43, Jan Palus wrote:
> Signed-off-by: Jan Palus <jpalus@fastmail.com>
> ---
> configure.ac | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index 6825474b..dd172e88 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -157,7 +157,7 @@ AC_CONFIG_COMMANDS([nftversion.h], [
> echo " ${STABLE_RELEASE}"
> echo "};"
> echo "static char nftbuildstamp[[]] = {"
> - for ((i = 56; i >= 0; i-= 8)); do
> + for i in `seq 56 -8 0`; do
> echo " ((uint64_t)MAKE_STAMP >> $i) & 0xff,"
> done
> echo "};"
> --
> 2.52.0
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] build: avoid bashism in configure
2025-12-05 23:43 [PATCH] build: avoid bashism in configure Jan Palus
2025-12-06 11:55 ` [nftables PATCH] " Jan Palus
@ 2025-12-06 16:17 ` Pablo Neira Ayuso
1 sibling, 0 replies; 3+ messages in thread
From: Pablo Neira Ayuso @ 2025-12-06 16:17 UTC (permalink / raw)
To: Jan Palus; +Cc: netfilter-devel
Applied, thanks
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-12-06 16:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-05 23:43 [PATCH] build: avoid bashism in configure Jan Palus
2025-12-06 11:55 ` [nftables PATCH] " Jan Palus
2025-12-06 16:17 ` [PATCH] " Pablo Neira Ayuso
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).