usr/bin/byobu: LANG=C before grepping for text

This commit is contained in:
Dustin Kirkland 2010-04-23 08:00:29 -05:00
commit e4de9c26a6
2 changed files with 2 additions and 1 deletions

1
debian/changelog vendored
View file

@ -3,6 +3,7 @@ byobu (2.72) unreleased; urgency=low
* usr/bin/byobu: support nethack screen mode, LP: #568751 * usr/bin/byobu: support nethack screen mode, LP: #568751
* usr/share/man/man1/byobu.1: document a sample custom script using * usr/share/man/man1/byobu.1: document a sample custom script using
custom colors, LP: #568967 custom colors, LP: #568967
* usr/bin/byobu: LANG=C before grepping for text
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 22 Apr 2010 12:31:20 -0500 -- Dustin Kirkland <kirkland@ubuntu.com> Thu, 22 Apr 2010 12:31:20 -0500

View file

@ -58,7 +58,7 @@ if [ "$#" = "0" ]; then
else else
NO_SOCKETS="^No Sockets found in " NO_SOCKETS="^No Sockets found in "
fi fi
if echo "$out" | grep -qsi "$NO_SOCKETS"; then if echo "$out" | LANG=C grep -qsi "$NO_SOCKETS"; then
# Start new session # Start new session
exec screen $SCREEN_TERM -c "/usr/share/$PKG/profiles/byoburc" -t shell $DEFAULT_WINDOW exec screen $SCREEN_TERM -c "/usr/share/$PKG/profiles/byoburc" -t shell $DEFAULT_WINDOW
else else