]> SALOME platform Git repositories - modules/eficas.git/commitdiff
Salome HOME
*** empty log message *** V1_10b5
authorPascale Noyret <pascale.noyret@edf.fr>
Tue, 20 Jun 2006 14:32:17 +0000 (14:32 +0000)
committerPascale Noyret <pascale.noyret@edf.fr>
Tue, 20 Jun 2006 14:32:17 +0000 (14:32 +0000)
Aster/sdist.py

index fc491606aab85e570891748b65e1359aaa426d6e..c4786355de24b233afe782e0f569408fba6c21c1 100644 (file)
@@ -92,12 +92,8 @@ def main():
    except:
       print "Repertoire de download inconnu : ",dir_download
 
-   copyfiles('../Aster',os.path.join(path_distrib,'Aster'),['prefs.py.win',
-                                                            'editeur.ini.win'
-                                                           ])
-   os.chdir('../Aster')
-   os.system("mv prefs.py.win prefs.py")
-   os.system("mv editeur.ini.win editeur.ini")
+   shutil.copy('prefs.py.win',os.path.join(path_distrib,'Aster','prefs.py'))
+   shutil.copy('editeur.ini.win',os.path.join(path_distrib,'Aster','editeur.ini'))
 
    try:
       shutil.copytree(path_TextTools,os.path.join(path_distrib,'Tools','TextTools'))