From c35de9ba77f0deffb7694dd9231fe7a328b1e809 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Fri, 17 Jun 2011 00:13:22 +0300 Subject: [PATCH] Make build directories under build/ subdir. Otherwise, top-level dir gets very crowded. --- build.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build.py b/build.py index 8621fc06..0e6169b6 100755 --- a/build.py +++ b/build.py @@ -56,6 +56,9 @@ if options.clean: if not os.path.exists(built_dir): os.mkdir(built_dir) +if not os.path.isdir('build'): + os.makedirs('build') + for app in apps: if app['disabled']: @@ -69,7 +72,7 @@ for app in apps: print "Processing " + app['id'] - build_dir = 'build_' + app['id'] + build_dir = 'build/' + app['id'] got_source = False