[X2Go-Commits] [live-build-x2go] 46/58: detection of NTFSROOT when given an incomplete UUID would fail
    git-admin at x2go.org 
    git-admin at x2go.org
       
    Tue Feb 14 09:34:12 CET 2017
    
    
  
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 792bff2b5786c70e85f3b88ec38c83c2a22fad4f
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date:   Mon Jan 2 11:20:34 2017 +0100
    detection of NTFSROOT when given an incomplete UUID would fail
---
 .../lib/live/config/2300-live-autoupdate           |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config/includes.chroot/lib/live/config/2300-live-autoupdate b/config/includes.chroot/lib/live/config/2300-live-autoupdate
index ee24683..8c26223 100755
--- a/config/includes.chroot/lib/live/config/2300-live-autoupdate
+++ b/config/includes.chroot/lib/live/config/2300-live-autoupdate
@@ -111,7 +111,7 @@ if [ -n "$NTFSROOT" ]; then
 	if ! [ -L "/dev/disk/by-uuid/$NTFSROOT" ]; then
 		NTFSROOT=$(echo $NTFSROOT | tr -d '-')
 		if ! [ -L "/dev/disk/by-uuid/$NTFSROOT" ]; then
-			NTFSROOT=$(echo /dev/disk/by-uuid/*$NTFSROOT | tr ' ' '\n' | head -1)
+			NTFSROOT=$(basename $(echo /dev/disk/by-uuid/*$NTFSROOT | tr ' ' '\n' | head -1))
 		fi
 	fi
 
--
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