[X2Go-Commits] [live-build-x2go] 24/167: and again, missing escapes

git-admin at x2go.org git-admin at x2go.org
Sat Nov 18 00:32:35 CET 2017


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

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

commit cf1039ab63f06d8839ad2b21000aa540a70edd3d
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date:   Sat Jul 22 13:10:22 2017 +0200

    and again, missing escapes
---
 config/includes.chroot/lib/live/config/2150-getsshpubkeysfromserver | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/includes.chroot/lib/live/config/2150-getsshpubkeysfromserver b/config/includes.chroot/lib/live/config/2150-getsshpubkeysfromserver
index 0042e3d..22dc9fd 100755
--- a/config/includes.chroot/lib/live/config/2150-getsshpubkeysfromserver
+++ b/config/includes.chroot/lib/live/config/2150-getsshpubkeysfromserver
@@ -32,7 +32,7 @@ chmod 600 /root/.ssh/authorized_keys
 if echo "$PUBKEYURL" | grep -q "^tftp://" ; then
 	PUBKEYSERVER=$(echo "$PUBKEYURL" | sed 's#^tftp://\([^/]*\)/.*$#\1#' )
 	PUBKEYPATH=$(echo "$PUBKEYURL" | sed 's#^tftp://[^/]*/\(.*\)$#\1#' )
-	if [ -n "$PUBKEYSERVER" ] && [ -n "$PUBKEYPATH" ] ; then
+	if [ -n "\$PUBKEYSERVER" ] && [ -n "\$PUBKEYPATH" ] ; then
 		while ! atftp $PUBKEYSERVER -g -r $PUBKEYPATH -l /root/.ssh/authorized_keys ; do
 			echo "Waiting for SSH Public Key ..."
 			sleep 5

--
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