A few years back when I was doing a fair bit of work with pkgsrc on Solaris
10, I ended up setting the pkgsrc shell to the pkgsrc pdksh. I'm pretty
sure that pkgsrc also sorted out the chicken and egg problem of needing
pdksh to build packages such as pdksh. I'm afraid I can't remember the
details of what I did and the diffs are with an employer from two years ago
(if they exist at all anymore).

The advantage of setting this inside pkgsrc is that you don't have to
remember to set your SHELL all the time, and it'll also work out of the box
for the next person.



On 13 July 2014 09:21, Alain O'Dea via smartos-discuss <
[email protected]> wrote:

> On Fri 11 Jul 2014 12:33:09 PM UTC, Jonathan Perkin via smartos-discuss
> wrote:
> > * On 2014-07-11 at 13:28 BST, Nahum Shalman via smartos-discuss wrote:
> >
> >> I've had issues from time caused by the fact that /bin/sh is a
> >> symlink to ksh93 and not bash.
> >
> > There are also a number of bugs in the ksh93 currently available in
> > illumos.  They are fixed in newer releases, but I don't think anyone
> > wants to touch a ksh93 upgrade with a barge pole.
> >
> > This is why in pkgsrc I set SHELL to /bin/bash and avoid ksh93
> > completely, it fixes a number of issues I was seeing previously.
> >
>
> Thank you gentlemen.  Jonathan, your SHELL env fix worked.  I don't
> understand why it works, but I'll go with it :)
>
> My SHELL was /usr/bin/bash.  Just exporting it didn't work, but setting
> SHELL to /bin/bash worked.
>
>
>
>
>
> -------------------------------------------
> smartos-discuss
> Archives: https://www.listbox.com/member/archive/184463/=now
> RSS Feed:
> https://www.listbox.com/member/archive/rss/184463/25862483-3ffcc027
> Modify Your Subscription:
> https://www.listbox.com/member/?&;
> Powered by Listbox: http://www.listbox.com
>



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to