Comment 0 for bug 535407

Revision history for this message
ermo | Rune Morling (ermo) wrote :

Dustin,

As you so politely suggested, here is a new bug for the hardcoded reference to /bin/bash in byobu-config:

<ermo@mrwing>:[~/conary/builds/byobu/byobu-2.62]
(127)$ grep -C2 -n bash /usr/bin/byobu-config
184-
185-def newwindow(screen, size):
186: title=Entry(8, text="bash", returnExit=1)
187- titlel=Label(_("Title: "))
188: command=Entry(20, text="/bin/bash", returnExit=1)
189- commandl=Label(_("Command: "))
190-

On my system, /bin/bash is the default shell and $BASH is "/bin/bash", so that would be one way to obtain the full path to bash in a slightly more portable manner. But on systems where bash is installed but not the default shell and may not even be installed under /bin, another approach would likely be needed?