From: Petr Vorel Date: Sat, 15 Dec 2018 18:00:41 +0000 (+0100) Subject: configure: Remove non-posix shell expansion X-Git-Tag: v4.20.0~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fce84d6450276e6d9ae721261af97c359f23fb3c;p=thirdparty%2Fiproute2.git configure: Remove non-posix shell expansion + change shebang to /bin/sh Signed-off-by: Petr Vorel Signed-off-by: Stephen Hemminger --- diff --git a/configure b/configure index 614355dd7..c88247d86 100755 --- a/configure +++ b/configure @@ -1,4 +1,4 @@ -#! /bin/bash +#!/bin/sh # SPDX-License-Identifier: GPL-2.0 # This is not an autoconf generated configure # @@ -180,7 +180,8 @@ check_ipt_lib_dir() for dir in /lib /usr/lib /usr/local/lib do - for file in $dir/{xtables,iptables}/lib*t_*so ; do + for file in "xtables" "iptables"; do + file="$dir/$file/lib*t_*so" if [ -f $file ]; then echo ${file%/*} echo "IPT_LIB_DIR:=${file%/*}" >> $CONFIG