From: Jan Palus Date: Fri, 5 Dec 2025 23:43:58 +0000 (+0100) Subject: build: fix ./configure with non-bash shell X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e3c68f26d5bd60c8ea7467fa9018c282a7d8c47;p=thirdparty%2Fnftables.git 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 Signed-off-by: Pablo Neira Ayuso --- 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 "};"