Mailinglist Archive: opensuse-factory (468 mails)

< Previous Next >
Re: [opensuse-factory] openSUSE:LEAP:15.1 missing dependency /usr/bin/bash for testssl.sh
  • From: mararm <mararm@xxxxxxxxxx>
  • Date: Sat, 04 Apr 2020 03:17:05 +0200
  • Message-id: <2995754.K6bYivxJLj@dreikern>
Hi Christian,

On Saturday, 2020-04-04 00:06:02 CEST Christian Boltz wrote:
What is wrong with

#!/usr/bin/env bash

as a shebang, why not keep it that way? It was exactly what I put into
/usr/bin/testssl.sh ;-)

/usr/bin/env bash has some disadvantages:
- it adds a level of indirection
- rpm requirement autodetection "breaks" (untested guess: the package
will require /usr/bin/env, but not bash)
- worst: the script might get a "random" bash (possibly /usr/local/bin/
bash) which is not expected by the packaged script, and might or might
not work

Ah, makes sense. Thanks for the clarification.

Regards
mararm

--
Don't go around saying the world owes you a living. The world owes you
nothing. It was here first.
-- Mark Twain



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

< Previous Next >