From: Pascale Noyret Date: Tue, 20 Jun 2006 14:32:17 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: V1_10b5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2440c7b6b4a400f5124c12ec3de369fec31ec636;p=modules%2Feficas.git *** empty log message *** --- diff --git a/Aster/sdist.py b/Aster/sdist.py index fc491606..c4786355 100644 --- a/Aster/sdist.py +++ b/Aster/sdist.py @@ -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'))