]> git.proxmox.com Git - mirror_iproute2.git/commitdiff
configure: Remove non-posix shell expansion
authorPetr Vorel <petr.vorel@gmail.com>
Sat, 15 Dec 2018 18:00:41 +0000 (19:00 +0100)
committerStephen Hemminger <sthemmin@microsoft.com>
Tue, 18 Dec 2018 18:52:35 +0000 (10:52 -0800)
+ change shebang to /bin/sh

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
configure

index 614355dd7e509295850af55de203b3baaead9646..c88247d866942f7bdd7e1ccc631c434ae6b53900 100755 (executable)
--- 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