Gentoo Archives: gentoo-dev

From: Ulrich Mueller <ulm@g.o>
To: Sam James <sam@g.o>
Cc: gentoo-dev@l.g.o, base-system@g.o
Subject: Re: [gentoo-dev] [PATCH 1/3] dotnet.eclass: pass -S to file to disable seccomp
Date: Tue, 03 Jan 2023 11:48:10
Message-Id: uv8lnc00k@gentoo.org
In Reply to: [gentoo-dev] [PATCH 1/3] dotnet.eclass: pass -S to file to disable seccomp by Sam James
1 >>>>> On Tue, 03 Jan 2023, Sam James wrote:
2
3 > - if [[ "$(file "${exe}")" == *"shell script text"* ]]
4 > + if [[ "$(file -S "${exe}")" == *"shell script text"* ]]
5
6 POSIX file doesn't know the -S option. Could that cause any problems,
7 e.g. on prefix systems?

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies