general -> build

This commit is contained in:
S.Çağlar Onur
2006-07-06 12:19:04 +00:00
parent 206cc96a27
commit f8e394c908
+2 -2
View File
@@ -223,12 +223,12 @@ class Builder:
# First check icecream, if not found use ccache, no need to use both
# together (according to kde-wiki it cause performance loss)
if ctx.config.values.general.buildhelper == "icecream":
if ctx.config.values.build.buildhelper == "icecream":
if os.path.exists("/opt/icecream/bin/gcc"):
# Add icecream directory for support distributed compiling :)
os.environ["PATH"] = "/opt/icecream/bin/:%s" % os.environ["PATH"]
ctx.ui.info(_("IceCream detected. Make sure your daemon is up and running..."))
elif ctx.config.values.general.buildhelper == "ccache":
elif ctx.config.values.build.buildhelper == "ccache":
if os.path.exists("/usr/lib/ccache/bin/gcc"):
# Add ccache directory for support Compiler Cache :)
os.environ["PATH"] = "/usr/lib/ccache/bin/:%s" % os.environ["PATH"]