[X2Go-Commits] [live-build-x2go] 41/166: detection of NTFSROOT when given an incomplete UUID would fail
git-admin at x2go.org
git-admin at x2go.org
Mon Nov 20 02:16:45 CET 2017
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch feature/mate-minidesktop
in repository live-build-x2go.
commit 9277628f7d93ea55be3df2d051671b83792d8572
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
---
config/includes.chroot/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