generic_stage_target: Add a trailing / to the cp /etc/reolv.conf command
authorBrian Dolbec <dolsen@gentoo.org>
Sat, 5 Apr 2014 07:26:58 +0000 (00:26 -0700)
committerBrian Dolbec <dolsen@gentoo.org>
Sat, 5 Apr 2014 07:41:57 +0000 (00:41 -0700)
catalyst/targets/generic_stage_target.py

index 05c61e8fb5765826545891f6f9d72d5e6b6fbaff..1f26e65f12a7e6e18562048cc009ea2fff05e4ba 100644 (file)
@@ -1025,7 +1025,7 @@ class generic_stage_target(generic_target):
 
                        #self.makeconf=read_makeconf(self.settings["chroot_path"]+"/etc/portage/make.conf")
 
-                       cmd("cp /etc/resolv.conf "+self.settings["chroot_path"]+"/etc",\
+                       cmd("cp /etc/resolv.conf " + self.settings["chroot_path"] + "/etc/",
                                "Could not copy resolv.conf into place.",env=self.env)
 
                        """ Copy over the envscript, if applicable """