ccache flexibility fix
authorDaniel Robbins <drobbins@gentoo.org>
Thu, 6 Nov 2003 02:56:48 +0000 (02:56 +0000)
committerDaniel Robbins <drobbins@gentoo.org>
Thu, 6 Nov 2003 02:56:48 +0000 (02:56 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@59 d1e1f19c-881f-0410-ab34-b69fee027534

catalyst

index fcc3d5189be65c72837e70cb513d3d672541ef6b..b8b8a234c485d83c2a51c786175691f6e44a581e 100755 (executable)
--- a/catalyst
+++ b/catalyst
@@ -46,6 +46,8 @@ targetmap={}
 targets.register(targetmap)
 
 if "ccache" in string.split(myspec["options"]):
+       if not os.path.exists("/root/.ccache"):
+               os.makedirs("/root/.ccache")
        print "Compiler cache support enabled."
        myspec["CCACHE"]="1"
 if "pkgcache" in string.split(myspec["options"]):