Mailinglist Archive: opensuse-factory (742 mails)

< Previous Next >
[opensuse-factory] Re: rpmlint 1.10 env-script-interpreter and build failures of perl scripts
  • From: Andreas Schwab <schwab@xxxxxxx>
  • Date: Tue, 27 Mar 2018 13:49:48 +0200
  • Message-id: <mvmk1txbuw3.fsf@suse.de>
On Mär 27 2018, Manfred Hollstein <mhollstein@xxxxxxxxxxx> wrote:

On Tue, 27 Mar 2018, 13:29:43 +0200, Michal Kubecek wrote:
On Tuesday, 27 March 2018 13:16 Manfred Hollstein wrote:
On Tue, 27 Mar 2018, 12:06:29 +0200, Jan Engelhardt wrote:
On Tuesday 2018-03-27 09:13, Tomáš Čech wrote:
Yes. And just to be sure: You would still create a patch file? Or
would you put the find xargs sed chain somewhere in the spec
file?

That is the idea, put it into spec file directly into %prep
section so no patch is needed at all.

And stick to find -exec; there is almost no reason to use xargs.

Since when? "find -exec" spawns a new process for every file it finds,
while xargs collects arguments until "it reaches a system-defined
limit" (usually ARG_MAX).

...which is essentially the same as what "find ... -exec ... +" does.

indeed, thanks for the hint! Twenty years ago GNU find did not exist on
every system... ;)

Twenty years ago, GNU find didn't suport it yet.

Andreas.

--
Andreas Schwab, SUSE Labs, schwab@xxxxxxx
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >