Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2008-04-09 00:08:46 +0400
committerCampbell Barton <ideasman42@gmail.com>2008-04-09 00:08:46 +0400
commit9aa985abe6bc1c2090695eb06c3c0ae1dfe765d2 (patch)
tree3a34aac1bbb1b4b2e486f9b2098462c1fec699c6 /SConstruct
parentb96b7ab83d51574c07c2f4d8fbd21595abb4f5aa (diff)
minor edit to last commit, fixed a possible python error
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct5
1 files changed, 3 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct
index a95cad4a9a3..da943f4c2ad 100644
--- a/SConstruct
+++ b/SConstruct
@@ -225,17 +225,18 @@ if env['OURPLATFORM'] == 'linux2' :
return result
env2 = env.Copy( LIBPATH = env['BF_OPENAL'] )
- sconf_temp = mkdtemp()
+ sconf_temp = mkdtemp()
conf = Configure( env2, {'CheckFreeAlut' : CheckFreeAlut}, sconf_temp, '/dev/null' )
if conf.CheckFreeAlut( env2 ):
env['BF_OPENAL_LIB'] += ' alut'
del env2
+ root = ''
for root, dirs, files in os.walk(sconf_temp, topdown=False):
for name in files:
os.remove(os.path.join(root, name))
for name in dirs:
os.rmdir(os.path.join(root, name))
- os.rmdir(root)
+ if root: os.rmdir(root)
if len(B.quickdebug) > 0 and printdebug != 0:
print B.bc.OKGREEN + "Buildings these libs with debug symbols:" + B.bc.ENDC