From mboxrd@z Thu Jan 1 00:00:00 1970 From: alan somers Subject: Re: [PATCH] Fix bash path in shebangs Date: Wed, 13 Sep 2017 08:35:29 -0600 Message-ID: References: <20170727201212.9252-1-asomers@gmail.com> <2043146.lLI0On9UDY@xps> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Cc: dev@dpdk.org To: Thomas Monjalon Return-path: Received: from mail-lf0-f42.google.com (mail-lf0-f42.google.com [209.85.215.42]) by dpdk.org (Postfix) with ESMTP id BFE681396 for ; Wed, 13 Sep 2017 16:35:30 +0200 (CEST) Received: by mail-lf0-f42.google.com with SMTP id d17so1165291lfe.2 for ; Wed, 13 Sep 2017 07:35:30 -0700 (PDT) In-Reply-To: <2043146.lLI0On9UDY@xps> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wed, Sep 13, 2017 at 3:37 AM, Thomas Monjalon wrote: > 27/07/2017 22:12, asomers@gmail.com: >> From: Alan Somers >> >> "/bin/bash" is a Linuxism. "/usr/bin/env bash" is portable. > > Why is it an issue? > > Can you run dpdk-setup.sh on a non-Linux system? > Nope, because even dpdk-setup.sh assumes that bash is located at /bin/bash. But "/usr/bin/env bash" works everywhere.