diff options
| author | Jan Palus <jpalus@fastmail.com> | 2025-12-06 00:43:58 +0100 |
|---|---|---|
| committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2025-12-06 17:27:01 +0100 |
| commit | 2e3c68f26d5bd60c8ea7467fa9018c282a7d8c47 (patch) | |
| tree | ca4d494d318dda57a6ac14d544cbe6d93862d288 /configure.ac | |
| parent | d181bb815117b6a9f42d965db15227135866830f (diff) | |
build: fix ./configure with non-bash shell
CONFIG_SHELL=/bin/dash ./configure
breaks with:
./config.status: 2044: Syntax error: Bad for loop variable
Fixes: 64c07e38f049 ("table: Embed creating nft version into userdata")
Signed-off-by: Jan Palus <jpalus@fastmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
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 "};" |
