diff options
author | Petr Vorel <petr.vorel@gmail.com> | 2018-12-15 19:00:41 +0100 |
---|---|---|
committer | Stephen Hemminger <sthemmin@microsoft.com> | 2018-12-18 10:52:35 -0800 |
commit | fce84d6450276e6d9ae721261af97c359f23fb3c (patch) | |
tree | 1515ba5dd06dfc5fd29e45457e843b15a09508e6 /configure | |
parent | 3de834e6e22e4e412f6926217dcf1d8ef8134a49 (diff) |
configure: Remove non-posix shell expansion
+ change shebang to /bin/sh
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |