pkgsrc-Users archive

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

Re: bootstrap: Set shprog to bash on SunOS if available



    Date:        Sat, 1 Jul 2023 13:10:34 -0400
    From:        Vivianne Ombretta <vivianne%chinstrap.org@localhost>
    Message-ID:  <6d9c07ea-5b30-43e4-f6a7-b27140827df1%chinstrap.org@localhost>

  | +               shprog="/usr/bin/bash"

I'd suggest just
		shprog=${bootstrap_sh}
for that (the quotes are certainly not needed in your version,
and aren't in this one either, but that is irrelevant really) just
to avoid building the path to bash in too many places, and allowing $SH
to be used consistently, if it is set.

kre

ps: I have zero idea whether the change is the right thing to do or not,
just commenting on the details of the change, assuming that it is.




Home | Main Index | Thread Index | Old Index