* usr/bin/byobu-reconnect-sockets.in:

- let's make sure that we name our temp directory
This commit is contained in:
Dustin Kirkland 2014-04-27 18:36:03 -05:00
commit 401dd2740f
2 changed files with 3 additions and 1 deletions

2
debian/changelog vendored
View file

@ -2,6 +2,8 @@ byobu (5.80) unreleased; urgency=medium
* usr/lib/byobu/include/mondrian:
- simplify and cleanup the mondrian squares easter egg, and idempotent
* usr/bin/byobu-reconnect-sockets.in:
- let's make sure that we name our temp directory
-- Dustin Kirkland <kirkland@ubuntu.com> Sun, 27 Apr 2014 09:22:30 -0500

View file

@ -59,7 +59,7 @@ screen_update () {
# Ensure that screen's environment variables/values get propagated here
# Enable word splitting for zsh:
[ "x$ZSH_VERSION" != x ] && setopt local_options sh_word_split
tempfile=$(mktemp -q) && {
tempfile=$(mktemp -q ${BYOBU_RUN_DIR}/sockets-XXXXXXXX) && {
for var in $VARS_TO_UPDATE; do
screen sh -c "echo export $var=\$$var >> \"$tempfile\""
done