From mboxrd@z Thu Jan 1 00:00:00 1970 From: Petr Vorel Subject: [PATCH RESENT iproute2 4/7] configure: Remove non-posix shell expansion Date: Sat, 15 Dec 2018 19:00:41 +0100 Message-ID: <20181215180044.22868-4-petr.vorel@gmail.com> References: <20181215180044.22868-1-petr.vorel@gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: Petr Vorel , Stephen Hemminger To: netdev@vger.kernel.org Return-path: Received: from mail-wr1-f65.google.com ([209.85.221.65]:44244 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726641AbeLOSA6 (ORCPT ); Sat, 15 Dec 2018 13:00:58 -0500 Received: by mail-wr1-f65.google.com with SMTP id z5so8381020wrt.11 for ; Sat, 15 Dec 2018 10:00:57 -0800 (PST) In-Reply-To: <20181215180044.22868-1-petr.vorel@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: + change shebang to /bin/sh Signed-off-by: Petr Vorel --- configure | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 614355dd..c88247d8 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 -- 2.20.0