Mailinglist Archive: opensuse-buildservice (88 mails)

< Previous Next >
Re: [opensuse-buildservice] mangling shebang in fedora 28
On 06/20/2018 04:34 PM, Jan Engelhardt wrote:
On Wednesday 2018-06-20 16:14, Petr Vanek wrote:

is there any way how to disable 'shebang mangling' in Fedora 28, please? An

[ 128s] mangling shebang in /opt/qorus/bin/qldapdelete from /usr/bin/env qore
to #!/usr/bin/qore

I know it's ugly etc. But I'm preparing some app which needs to use env for
selecting the proper interpret.
How do you know what's proper?
With PATH=$HOME/bin, it's all out the window and programs can start
breaking at any time.

that's true. But for that app (closed src application server) I need to bundle all required components into a prefix /opt/qorus.

It's a set of binaries and libs and scripts. User can "switch" the env to use this app with sourcing env script.

I know that the correct way is to change the upstream scripts to use hardcoded paths, but it will take some time to change it upstream.

Meanwhile the current state of the app works in various Suse and CentOS/RHEL flavors out of the box. Just Fedora makes some paths changing inside scripts during obs build.

For now I'll use a sed inplace replacement in these scripts probably to point directly to bundled language interpret



To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >