* usr/bin/byobu:

- byobu shouldn't overwrite the screen name if given options to pass
    onto screen which explicitly set the screen name. This patch stops
    this for all the relevant options that I could see in the screen
    manpage.
This commit is contained in:
Dustin Kirkland 2011-07-05 09:10:18 +01:00
commit 811261f9ab
2 changed files with 7 additions and 1 deletions

6
debian/changelog vendored
View file

@ -1,5 +1,6 @@
byobu (4.18) unreleased; urgency=low byobu (4.18) unreleased; urgency=low
[ Dustin Kirkland ]
* usr/bin/byobu, usr/bin/byobu-status: * usr/bin/byobu, usr/bin/byobu-status:
- remove some redundancies - remove some redundancies
* usr/bin/byobu, usr/bin/byobu-config, usr/bin/byobu-ctrl-a, * usr/bin/byobu, usr/bin/byobu-config, usr/bin/byobu-ctrl-a,
@ -31,6 +32,11 @@ byobu (4.18) unreleased; urgency=low
[ James Spencer ] [ James Spencer ]
* usr/lib/byobu/.constants: * usr/lib/byobu/.constants:
- fix syntax error - fix syntax error
* usr/bin/byobu:
- byobu shouldn't overwrite the screen name if given options to pass
onto screen which explicitly set the screen name. This patch stops
this for all the relevant options that I could see in the screen
manpage.
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 29 Jun 2011 02:26:28 +0000 -- Dustin Kirkland <kirkland@ubuntu.com> Wed, 29 Jun 2011 02:26:28 +0000

View file

@ -84,7 +84,7 @@ fi
NAME="-S $PKG" NAME="-S $PKG"
# Zero out $NAME if user has specified a session name # Zero out $NAME if user has specified a session name
for i in "$@"; do for i in "$@"; do
case $i in -r|-*S|-ls|-list) NAME= ;; esac case $i in -*r*|-*d*|-*D*|-*S*|-ls|-list) NAME= ;; esac
done done
# Now let's execute the backend! # Now let's execute the backend!
if [ "$#" = "0" ]; then if [ "$#" = "0" ]; then