From: Daniel Robbins <drobbins@gentoo.org>
Date: Tue, 23 Dec 2003 05:56:06 +0000 (+0000)
Subject: typo fixes
X-Git-Tag: CATALYST_1_0_1~132
X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=63c55ce8265098763d129b7565cc9afdbd506963;p=catalyst.git

typo fixes


git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@108 d1e1f19c-881f-0410-ab34-b69fee027534
---

diff --git a/modules/targets.py b/modules/targets.py
index d1a669fb..e367e547 100644
--- a/modules/targets.py
+++ b/modules/targets.py
@@ -272,13 +272,13 @@ class generic_stage_target(generic_target):
 			args=`len(mynames)`
 			for x in mynames:
 				args=args+" "+x+" "+self.settings["boot/kernel/"+x+"/sources"]
-				if not os.path.exists(self.settings["boot/kernel/"+x+"/config"]:
+				if not os.path.exists(self.settings["boot/kernel/"+x+"/config"]):
 					raise CatalystError, "Can't find kernel config: "+self.settings["boot/kernel/"+x+"/config"]
-				retval=os.system("cp "+self.settings["boot/kernel/"+x+"/config "+self.settings["chroot_dir"]+"/var/tmp/"+x+".config")
+				retval=os.system("cp "+self.settings["boot/kernel/"+x+"/config"]+" "+self.settings["chroot_dir"]+"/var/tmp/"+x+".config")
 				if retval!=0:
 					raise CatalystError, "Couldn't copy kernel config: "+self.settings["boot/kernel/"+x+"/config"]
 			try:
-				cmd(self.settings["sharedir"]+"/targets/livecd-stage2/livecd-stage2.sh run "+args))
+				cmd(self.settings["sharedir"]+"/targets/livecd-stage2/livecd-stage2.sh run "+args)
 			except CatalystError:
 				self.unbind()
 				raise CatalystError,"GRP build aborting due to error."