From: Camille GOUTTEBROZE Date: Tue, 23 Sep 2014 13:26:48 +0000 (+0200) Subject: Typos + new bin/app-template/LICENCE file X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=bb8175b6fa4a2087191cf02e4e2fdac036385177;p=modules%2Fkernel.git Typos + new bin/app-template/LICENCE file --- diff --git a/bin/app-quickstart.py b/bin/app-quickstart.py index 5b49f6d7c..582005be1 100755 --- a/bin/app-quickstart.py +++ b/bin/app-quickstart.py @@ -70,7 +70,7 @@ def generate_sources( options, args ) : app_dir = os.path.join( options.prefix, options.name ) src_dir = os.path.join( app_dir, "src" ) kernek_root_dir = os.environ["KERNEL_ROOT_DIR"] - bin_dir = os.path.join( kernek_root_dir, "bin" ) + bin_dir = os.path.join( kernek_root_dir, "bin", "salome" ) template_dir = os.path.join( bin_dir, "app-template" ) #Check if the directory of the sources already exists @@ -85,10 +85,9 @@ def generate_sources( options, args ) : shutil.copytree( template_dir, app_dir ) #Complete source directory - shutil.copy( os.path.join( kernek_root_dir, "LICENCE" ), app_dir ) - shutil.copy( os.path.join( bin_dir, "salomeContext.py" ), src_dir ) - shutil.copy( os.path.join( bin_dir, "parseConfigFile.py" ), src_dir ) - shutil.copy( os.path.join( bin_dir, "salomeContextUtils.py.in" ), os.path.join( src_dir, "salomeContextUtils.py" ) ) + contextFiles = [ "salomeContext.py", "salomeContextUtils.py", "parseConfigFile.py" ] + for f in contextFiles : + shutil.copy( os.path.join( bin_dir, f ), src_dir ) # -----------------------------------------------------------------------------