We need to put quotes around ${user_comment} or useradd gets confused.
authorChris Gianelloni <wolf31o2@gentoo.org>
Wed, 5 Mar 2008 16:59:33 +0000 (16:59 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Wed, 5 Mar 2008 16:59:33 +0000 (16:59 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1354 d1e1f19c-881f-0410-ab34-b69fee027534

ChangeLog
targets/support/livecdfs-update.sh

index c15d7b61794dbebc27aa856c9aa27a94049b4849..e9aeef111ba1b6dd207e5e714e1aa64eb1a534c7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,10 @@
 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
 # $Id: $
 
+  05 Mar 2008; Chris Gianelloni <wolf31o2@gentoo.org>
+  targets/support/livecdfs-update.sh:
+  We need to put quotes around ${user_comment} or useradd gets confused.
+
   05 Mar 2008; Chris Gianelloni <wolf31o2@gentoo.org>
   targets/support/chroot-functions.sh:
   Changed make_destpath to write out ROOT to make.conf, rather than (ab)using
index 1b0e9a35c0ca9ede7fd6df31c46e39ae1545b551..204224228f6b63f4915ba41ed015be5cd21c67be 100755 (executable)
@@ -65,7 +65,7 @@ then
        for x in ${clst_livecd_users}
        do
                useradd -G users,wheel,audio,plugdev,games,cdrom,disk,floppy,usb \
-                       -g 100 -c ${user_comment} -m ${x}
+                       -g 100 -c "${user_comment}" -m ${x}
                chown -R ${x}:users /home/${x}
                if [ -n "${clst_livecd_xdm}" -a -n "${clst_livecd_xsession}" ]
                then