[X2Go-Commits] [live-build-x2go] 06/08: /dev/disxk/by-label may contain "\x20" for blanks, this needs to be interpreted, "echo -e" is the way to do this.
git-admin at x2go.org
git-admin at x2go.org
Fri Dec 15 22:06:26 CET 2023
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch feature/openbox-magic-pixel-workaround-buster-heuler-bpo
in repository live-build-x2go.
commit 6796c6a8e48b1907e4b1dccbaef752bd40bbc1ab
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date: Sat Aug 22 18:16:55 2020 +0200
/dev/disxk/by-label may contain "\x20" for blanks, this needs to be
interpreted, "echo -e" is the way to do this.
---
config/includes.chroot/lib/live/config/2260-getsshhostkeysfrommedia | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config/includes.chroot/lib/live/config/2260-getsshhostkeysfrommedia b/config/includes.chroot/lib/live/config/2260-getsshhostkeysfrommedia
index 17ad29f..9f29e14 100755
--- a/config/includes.chroot/lib/live/config/2260-getsshhostkeysfrommedia
+++ b/config/includes.chroot/lib/live/config/2260-getsshhostkeysfrommedia
@@ -84,7 +84,7 @@ GetSSHHostKeysFromMedia ()
LABELMPLIST=$(lsblk -oLABEL,RM,NAME,MOUNTPOINT -ln)
LSBLKLIST=$(echo "$LABELMPLIST" | grep -v "^ " | awk '{print $1}' | sort -u | tr '\n' '|') # generated from lsblk
echo -n "\n$(date +'%F | %T | ')'$0' Status of lsblk: '$LSBLKLIST'." | tee -a /dev/tty8
- [ "$LABELLIST" = "$LSBLKLIST" ] && break
+ [ "$(echo -e "$LABELLIST")" = "$LSBLKLIST" ] && break
sleep 1
done
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
More information about the x2go-commits
mailing list