[X2Go-Commits] [live-build-x2go] 09/29: Position of SESSIONSDESTINATION variable was wrong, which caused it to be empty later on

git-admin at x2go.org git-admin at x2go.org
Tue Dec 13 19:48:57 CET 2016


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch feature/openbox
in repository live-build-x2go.

commit 672c34f11172c028b74afb2bf8ea8ef78b83c44c
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date:   Tue Jun 21 14:57:26 2016 +0200

    Position of SESSIONSDESTINATION variable was wrong, which caused it to be empty later on
---
 .../lib/live/config/2600-x2go-getsessions          |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/includes.chroot/lib/live/config/2600-x2go-getsessions b/config/includes.chroot/lib/live/config/2600-x2go-getsessions
index 7b15e7d..b43851a 100755
--- a/config/includes.chroot/lib/live/config/2600-x2go-getsessions
+++ b/config/includes.chroot/lib/live/config/2600-x2go-getsessions
@@ -11,10 +11,10 @@ echo -n " x2go-getsessions"
                        tr ' ' '\n' | \
                        awk -F'=' ' /^sessionsurl=/ { print $2 }')
         if [ -n "$SESSIONSURL" ] && [ -d /etc/x2go ] ; then 
+	SESSIONSDESTINATION=/etc/x2go/x2gothinclient_sessions_new
         cat >/etc/network/if-up.d/getsessions <<GETSESS
 #!/bin/bash
 export TERM=linux;
-SESSIONSDESTINATION=/etc/x2go/x2gothinclient_sessions_new
 
 while ! ip a | grep -v "inet 127.0.0.1" | grep -v "inet6 ::1/128" | grep -q inet ; do
         sleep 2

--
Alioth's /srv/git/code.x2go.org/live-build-x2go.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git


More information about the x2go-commits mailing list