From: Jorge Manuel B. S. Vicetto (jmbsvicetto) Date: Thu, 22 Nov 2012 02:48:01 +0000 (-0100) Subject: Make sure we always append bindist use flag to all targets. X-Git-Tag: catalyst-2.0.12.2~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9cb44ec10cf3004f8038b6e8bd4a0fb015a2e0b4;p=catalyst.git Make sure we always append bindist use flag to all targets. --- diff --git a/modules/generic_stage_target.py b/modules/generic_stage_target.py index 578c4af4..35976809 100644 --- a/modules/generic_stage_target.py +++ b/modules/generic_stage_target.py @@ -485,10 +485,13 @@ class generic_stage_target(generic_target): self.settings["use"]=\ self.settings[self.settings["spec_prefix"]+"/use"] del self.settings[self.settings["spec_prefix"]+"/use"] - if self.settings.has_key("use"): - if type(self.settings["use"])==types.StringType: - self.settings["use"]=self.settings["use"].split() - self.settings["use"].append("bindist") + if not self.settings.has_key("use"): + self.settings["use"]="" + if type(self.settings["use"])==types.StringType: + self.settings["use"]=self.settings["use"].split() + + # Force bindist for all targets + self.settings["use"].append("bindist") def set_stage_path(self): self.settings["stage_path"]=normpath(self.settings["chroot_path"])