From patchwork Sat Sep 22 21:24:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Vorel X-Patchwork-Id: 973622 X-Patchwork-Delegate: shemminger@vyatta.com Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="fVfb326V"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42Hk5T5T2Jz9s8T for ; Sun, 23 Sep 2018 07:25:17 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728286AbeIWDUI (ORCPT ); Sat, 22 Sep 2018 23:20:08 -0400 Received: from mail-wr1-f48.google.com ([209.85.221.48]:36941 "EHLO mail-wr1-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728020AbeIWDUH (ORCPT ); Sat, 22 Sep 2018 23:20:07 -0400 Received: by mail-wr1-f48.google.com with SMTP id u12-v6so16016489wrr.4 for ; Sat, 22 Sep 2018 14:25:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=n1T8V+wF2oo5PppaOmDnTnp964aQGdTmN/P6u20Yf2I=; b=fVfb326VL1qEw4p8iH1zYFbRpSF/g69/Wcse70Fsi5gu97TjAZM5XOQHxA/q+C/4UV Cdlo5sEq+8jaK93+GmbmEHdSU9hWni8R85xfBQR5FOgE21CURqUVEJDdGb+YJQHNNpSP BsICnvtL2vy02zy8MW8PUKIc5flkzx+en1nGZRMcvYdanW2tEmiS0skbSDYtv1yAS9pC 7henZX2sw2k/ZMxQhxxsWf+iATnnFWeyY2jS2tazhNjLZQcE5LoO/44qysBYUBCPksbV 8P++IebtK6I1Ni/3xBnHkasjSF4Vjxs5GifvIkhP5uG71v0t6J+MHGupkOUbIBoANmR2 IqWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=n1T8V+wF2oo5PppaOmDnTnp964aQGdTmN/P6u20Yf2I=; b=loDDuiMbmNz4vx3a6b1Z9x3uPxVeHmGzIGyGPJh5Su2I+rFhDAuae5HaZp35zvtKNe SKuA66Lk49E+Mrfbgieb+Uy750Gc83AVUItAiDt4z/dPGGoMSUmoBMNQoq/TciyzBk6Z 7yUjaBV+E0WAfW2U6v3URbS9SY3MyikVSud5ca7TGZdJjeNcyeNej3A72rinhrX5YU7H Idq25WCd4vnHpFwwQMGfoDpoI5WWmAy3fUCYgT4xkGi5S3J4nfA70x7hH9EPxRT8pSVA AOGci5WHdR3O6U5eUVHQ7Ake5FRE1ifPfkA/EDuVYhb/JBje3Qm7OxLFBhLFJHyvIf7f MP3w== X-Gm-Message-State: ABuFfojTKWddTnEkTG/8Sh92mfKuF5uqy5Rq1JROXtJoTkV4LmU3llpo +lkrnRjf0rI2fiJYlgg70oAvcCnd X-Google-Smtp-Source: ACcGV61bqiP6qfjLZP9wQnIgEmHCl5p8pkKBRXLXUeouhyYFdjg5nEhZ8yerRJzAE5R1h8lWBXH+nw== X-Received: by 2002:adf:9227:: with SMTP id 36-v6mr3103216wrj.275.1537651505953; Sat, 22 Sep 2018 14:25:05 -0700 (PDT) Received: from localhost.localdomain ([85.119.94.113]) by smtp.gmail.com with ESMTPSA id 75-v6sm16110032wml.21.2018.09.22.14.25.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 22 Sep 2018 14:25:05 -0700 (PDT) From: Petr Vorel To: netdev@vger.kernel.org Cc: Petr Vorel , Stephen Hemminger Subject: [PATCH iproute2 4/7] configure: Remove non-posix shell expansion Date: Sat, 22 Sep 2018 23:24:48 +0200 Message-Id: <20180922212451.327-5-petr.vorel@gmail.com> X-Mailer: git-send-email 2.19.0.rc2 In-Reply-To: <20180922212451.327-1-petr.vorel@gmail.com> References: <20180922212451.327-1-petr.vorel@gmail.com> MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org + 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 34325f99..8f4a7f1e 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