typo fixes
authorDaniel Robbins <drobbins@gentoo.org>
Tue, 23 Dec 2003 05:56:06 +0000 (05:56 +0000)
committerDaniel Robbins <drobbins@gentoo.org>
Tue, 23 Dec 2003 05:56:06 +0000 (05:56 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@108 d1e1f19c-881f-0410-ab34-b69fee027534

modules/targets.py

index d1a669fb86adef553d884730924d91202c4de441..e367e547e06743d8828793c4be37750350c25b17 100644 (file)
@@ -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."