* usr/bin/byobu-launch: LP: #1119446

- fix shell syntax regression
This commit is contained in:
Dustin Kirkland 2013-02-08 14:43:22 -06:00
commit 7c64db9977
2 changed files with 3 additions and 2 deletions

3
debian/changelog vendored
View file

@ -1,6 +1,7 @@
byobu (5.33) unreleased; urgency=low byobu (5.33) unreleased; urgency=low
* UNRELEASED * usr/bin/byobu-launch: LP: #1119446
- fix shell syntax regression
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 07 Feb 2013 18:11:44 -0600 -- Dustin Kirkland <kirkland@ubuntu.com> Thu, 07 Feb 2013 18:11:44 -0600

View file

@ -51,7 +51,7 @@ elif [ "$BYOBU_SOURCED_PROFILE" != "1" ] && [ "$LC_BYOBU" != "0" ] && [ "$BYOBU_
*i*) *i*)
# Attempt to merge shell history across sessions/windows (works with some exceptions) # Attempt to merge shell history across sessions/windows (works with some exceptions)
for i in shopt setopt; do for i in shopt setopt; do
if $BYOBU_TEST $i >/dev/null; if $BYOBU_TEST $i >/dev/null; then
case $i in case $i in
shopt) $i -s histappend || true ;; shopt) $i -s histappend || true ;;
setopt) $i appendhistory || true ;; setopt) $i appendhistory || true ;;