From: Alex Elsayed <eternaleye@gmail.com>
To: netfilter-devel@vger.kernel.org
Subject: Re: [nft PATCH] files: replace interpreter during installation
Date: Mon, 13 Jan 2014 08:30:17 -0800 [thread overview]
Message-ID: <lb14ad$ps1$1@ger.gmane.org> (raw)
In-Reply-To: 20140113095252.GB15457@macbook.localnet
Patrick McHardy wrote:
> On Mon, Jan 13, 2014 at 10:49:51AM +0100, Arturo Borrero Gonzalez wrote:
>> On 13 January 2014 10:39, Patrick McHardy <kaber@trash.net> wrote:
>> >
>> > I think we should use .in files instead and perform variable
>> > substition.
>> >
>>
>> Could you please elaborate this?
>>
>> I have understood:
>>
>> Use a variable in files/nftables/*, like:
>> <<
>> $shebang
>>
>> table filter {
>> [...]
>>
>> >>
>>
>> And replace during install. Is this true?
>
> Use f.i. files/nftables/ipv4-filter.in and use
>
> #! ${sbindir}/nft
Another option would be the venerable
#!/usr/bin/env nft
next prev parent reply other threads:[~2014-01-18 6:50 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-13 9:16 [nft PATCH] files: replace interpreter during installation Arturo Borrero Gonzalez
2014-01-13 9:39 ` Patrick McHardy
2014-01-13 9:49 ` Arturo Borrero Gonzalez
2014-01-13 9:52 ` Patrick McHardy
2014-01-13 16:30 ` Alex Elsayed [this message]
2014-01-14 12:48 ` Arturo Borrero Gonzalez
2014-01-14 13:11 ` Patrick McHardy
2014-01-14 15:00 ` Sam Liddicott
2014-01-14 15:16 ` Patrick McHardy
2014-01-22 16:45 ` Arturo Borrero Gonzalez
2014-01-22 16:51 ` Patrick McHardy
-- strict thread matches above, loose matches on Subject: below --
2013-12-24 1:21 Arturo Borrero Gonzalez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='lb14ad$ps1$1@ger.gmane.org' \
--to=eternaleye@gmail.com \
--cc=netfilter-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).