fixed typo with the livecd/motd checking code
authorJohn P. Davis <zhen@gentoo.org>
Tue, 13 Jul 2004 14:01:50 +0000 (14:01 +0000)
committerJohn P. Davis <zhen@gentoo.org>
Tue, 13 Jul 2004 14:01:50 +0000 (14:01 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@413 d1e1f19c-881f-0410-ab34-b69fee027534

livecd/runscript/default-runscript.sh

index c2de578b51ed13f64ad9a869d51162aca38198f4..133143601b7050903c4a2b87e390bf36659f61fe 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/livecd/runscript/Attic/default-runscript.sh,v 1.13 2004/06/11 19:06:37 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/livecd/runscript/Attic/default-runscript.sh,v 1.14 2004/07/13 14:01:50 zhen Exp $
 
 #return codes to be used by archscript
 die() {
@@ -126,7 +126,7 @@ case $1 in
                cp -a ${clst_sharedir}/livecd/files/livecd-rclocal ${clst_chroot_path}/etc/init.d/local
                
                # move over the motd (if applicable)
-               if [ -n ${clst_livecd_motd} ]
+               if [ -n "${clst_livecd_motd}" ]
                then
                        cp -a ${clst_livecd_motd} ${clst_chroot_path}/etc/motd
                fi