From 584d3c25ba6152c780a7bef65e25618a9deb4507 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Wed, 28 Sep 2011 12:34:38 +0200 Subject: [PATCH] Use BYOBU_PREFIX explicitly. LP: #861302 --- usr/bin/byobu | 2 +- usr/bin/byobu-launcher-install | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/bin/byobu b/usr/bin/byobu index 7657c05b..63642c86 100755 --- a/usr/bin/byobu +++ b/usr/bin/byobu @@ -95,7 +95,7 @@ case $BYOBU_BACKEND in fi export BYOBU_WINDOWS # Launch shell, unless the user has default windows set to launch - uncommented_lines < "$BYOBU_WINDOWS" && DEFAULT_WINDOW= || DEFAULT_WINDOW="-t ${SHELL##*/} byobu-shell" + uncommented_lines < "$BYOBU_WINDOWS" && DEFAULT_WINDOW= || DEFAULT_WINDOW="-t ${SHELL##*/} ${BYOBU_PREFIX}/bin/byobu-shell" # Check if our terminfo supports 256 colors if command -v tput >/dev/null; then if [ "$(tput colors 2>/dev/null || echo 0)" = "256" ]; then diff --git a/usr/bin/byobu-launcher-install b/usr/bin/byobu-launcher-install index 0adb4276..93d251b2 100755 --- a/usr/bin/byobu-launcher-install +++ b/usr/bin/byobu-launcher-install @@ -42,7 +42,7 @@ update_flag() { } install_launcher() { - printf "_byobu_sourced=1 . byobu-launch\n" >> "$1" + printf "_byobu_sourced=1 . ${BYOBU_PREFIX}/bin/byobu-launch\n" >> "$1" } # Sanitize the environment