From a2fb01447b09e3f29f7d46babc673d75ccb6b428 Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Wed, 5 Mar 2008 16:59:33 +0000 Subject: [PATCH] We need to put quotes around ${user_comment} or useradd gets confused. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1354 d1e1f19c-881f-0410-ab34-b69fee027534 --- ChangeLog | 4 ++++ targets/support/livecdfs-update.sh | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c15d7b61..e9aeef11 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,10 @@ # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 # $Id: $ + 05 Mar 2008; Chris Gianelloni + targets/support/livecdfs-update.sh: + We need to put quotes around ${user_comment} or useradd gets confused. + 05 Mar 2008; Chris Gianelloni targets/support/chroot-functions.sh: Changed make_destpath to write out ROOT to make.conf, rather than (ab)using diff --git a/targets/support/livecdfs-update.sh b/targets/support/livecdfs-update.sh index 1b0e9a35..20422422 100755 --- a/targets/support/livecdfs-update.sh +++ b/targets/support/livecdfs-update.sh @@ -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 -- 2.26.2