usr/bin/byobu-select-session: fix broken path to screen, affects users

who build/install byobu locally only, LP: #758177
This commit is contained in:
Dustin Kirkland 2011-04-14 18:01:48 -05:00
commit b2a659b2fb
2 changed files with 3 additions and 1 deletions

2
debian/changelog vendored
View file

@ -32,6 +32,8 @@ byobu (3.30) unreleased; urgency=low
~/.screenrc, if present; some users seem to want to use byobu and screen
separately, and keep their profiles separate, LP: #731529
* usr/bin/byobu-janitor: use greadlink on Mac OSX, LP: #740370
* usr/bin/byobu-select-session: fix broken path to screen, affects users
who build/install byobu locally only, LP: #758177
[ Chaskiel Grundman ]
* debian/postinst: correctly fix old-school screen-profiles era diversions

View file

@ -76,7 +76,7 @@ if choice:
os.execv(PREFIX+"/bin/byobu", ["", SHELL])
else:
# Attach to the chosen session; must use the 'screen' binary
os.execv(PREFIX+"/bin/screen", ["", "-AOxRR", sessions[choice-1]])
os.execv("screen", ["", "-AOxRR", sessions[choice-1]])
# No valid selection, default to the youngest session, create if necessary
os.execv(PREFIX+"/bin/byobu", ["", "-AOxRR"])