trans-coord-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: shebangs on GNUN scripts


From: Ineiev
Subject: Re: shebangs on GNUN scripts
Date: Wed, 31 Mar 2021 17:16:50 +0000
User-agent: Mutt/1.5.24 (2015-08-30)

Hello, Rafael;

On Tue, Mar 30, 2021 at 04:12:28PM -0300, Rafael Fontenelle wrote:
> 
> When packaging gnun for Fedora, some interesting warnings, and one
> error, came up (messages listed below). I can patch it locally, but I
> thought it would be interesting to share with the upstream.

Thank you, it is!

> The warnings were basically because awk scripts were packaged with
> executable bit but they don't have shebangs, so Fedora script removed
> the executable bit. I notice those scripts are called by other shell
> scripts using gawk command explicitly. Maybe it is the case of
> installing them without the executable bit? Alternatively, maybe add
> shebang "#!/bin/gawk" ?

The former would imply adding an almost-identical rule to Makefile.am;
I prefered adding shebangs to the scripts, even though they are not
generally intended to be executed directly.

> The one error was because 'diff-po.awk' has a shebang "# gawk -f" when
> the was expected a shebang starting "/". I don't know how much impact
> this, but maybe renaming it to "#!/bin/gawk -f" ?

Agreed.

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]