From 2d47ab1cdd48e187814f128d889e74ba6a832a5b Mon Sep 17 00:00:00 2001 From: Jimmy Brisson Date: Thu, 26 May 2016 13:03:43 -0500 Subject: [PATCH] projects are now named via command line -n --- tools/project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/project.py b/tools/project.py index e6e760df25..b28d50dfae 100644 --- a/tools/project.py +++ b/tools/project.py @@ -148,7 +148,7 @@ if __name__ == '__main__': if src is not None: # --source is used to generate IDE files to toolchain directly in the source tree and doesn't generate zip file project_dir = options.source_dir - project_name = basename(project_dir[0]) + project_name = n if n else "Unnamed_Project" project_temp = path.join(options.source_dir[0], 'projectfiles', ide) mkdir(project_temp) lib_symbols = []