fixed bug in cdroot cleaning (it was deleted and cleaned, butnever remade)
authorJohn P. Davis <zhen@gentoo.org>
Tue, 13 Jul 2004 15:42:12 +0000 (15:42 +0000)
committerJohn P. Davis <zhen@gentoo.org>
Tue, 13 Jul 2004 15:42:12 +0000 (15:42 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@416 d1e1f19c-881f-0410-ab34-b69fee027534

modules/livecd_stage2_target.py

index 75f414e09dff75f15a45597c7e7b499e3b587970..4c5874950cfb228bc86fe298d14b57f529055368 100644 (file)
@@ -1,6 +1,6 @@
 # Distributed under the GNU General Public License version 2
 # Copyright 2003-2004 Gentoo Technologies, Inc.
-# $Header: /var/cvsroot/gentoo/src/catalyst/modules/livecd_stage2_target.py,v 1.12 2004/07/06 13:48:00 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/livecd_stage2_target.py,v 1.13 2004/07/13 15:42:12 zhen Exp $
 
 """
 Builder class for a LiveCD stage2 build.
@@ -241,7 +241,6 @@ class livecd_stage2_target(generic_stage_target):
                                print "cleaning previous livecd-stage2 build"
                                cmd("rm -rf "+self.settings["cdroot_path"],
                                        "Could not remove existing directory: "+self.settings["cdroot_path"])
-                       else:
                                os.makedirs(self.settings["cdroot_path"])
                                touch(self.settings["chroot_path"]+"/tmp/.clst_run_local_cdroot_clean")