From 7c64db9977f5e27bfe1a8134919cdef517746164 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Fri, 8 Feb 2013 14:43:22 -0600 Subject: [PATCH] * usr/bin/byobu-launch: LP: #1119446 - fix shell syntax regression --- debian/changelog | 3 ++- usr/bin/byobu-launch | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index d891fb44..b644cad0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ byobu (5.33) unreleased; urgency=low - * UNRELEASED + * usr/bin/byobu-launch: LP: #1119446 + - fix shell syntax regression -- Dustin Kirkland Thu, 07 Feb 2013 18:11:44 -0600 diff --git a/usr/bin/byobu-launch b/usr/bin/byobu-launch index 369dd56d..3a4e939d 100755 --- a/usr/bin/byobu-launch +++ b/usr/bin/byobu-launch @@ -51,7 +51,7 @@ elif [ "$BYOBU_SOURCED_PROFILE" != "1" ] && [ "$LC_BYOBU" != "0" ] && [ "$BYOBU_ *i*) # Attempt to merge shell history across sessions/windows (works with some exceptions) for i in shopt setopt; do - if $BYOBU_TEST $i >/dev/null; + if $BYOBU_TEST $i >/dev/null; then case $i in shopt) $i -s histappend || true ;; setopt) $i appendhistory || true ;;