From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arturo Borrero Gonzalez Subject: Re: [nft PATCH] files: replace interpreter during installation Date: Wed, 22 Jan 2014 17:45:39 +0100 Message-ID: References: <20140113091623.10582.14579.stgit@nfdev.cica.es> <20140114151605.GA26466@macbook.localnet> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Sam Liddicott , Netfilter Development Mailing list To: Patrick McHardy Return-path: Received: from mail-lb0-f181.google.com ([209.85.217.181]:38338 "EHLO mail-lb0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752659AbaAVQqB convert rfc822-to-8bit (ORCPT ); Wed, 22 Jan 2014 11:46:01 -0500 Received: by mail-lb0-f181.google.com with SMTP id z5so515400lbh.40 for ; Wed, 22 Jan 2014 08:45:59 -0800 (PST) In-Reply-To: <20140114151605.GA26466@macbook.localnet> Sender: netfilter-devel-owner@vger.kernel.org List-ID: On 14 January 2014 16:16, Patrick McHardy wrote: > On Tue, Jan 14, 2014 at 03:00:14PM +0000, Sam Liddicott wrote: >> I realise a solution is reached, but an alternative in common use is >> mentioned here for completeness; >> >> #! /usr/bin/env nft -f >> >> it is commonly used to invoke interpreters whose path is unknown but >> which can be expected to be on the PATH > > I'm find either way. Unless there are arguments for not using env, > this seems like the simpler fix. Using env with an additional argument (the '-f') seems to fail in my sy= stem. =3D=3D=3D8<=3D=3D=3D #!/usr/bin/env nft -f list table filter =3D=3D=3D8<=3D=3D=3D % ./test /usr/bin/env: nft -f: No such file or directory --=20 Arturo Borrero Gonz=E1lez -- To unsubscribe from this list: send the line "unsubscribe netfilter-dev= el" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html