Salome HOME
PR: ROOT_DIR to virtual link = APPLI directory
authorprascle <prascle>
Tue, 5 Sep 2006 15:28:07 +0000 (15:28 +0000)
committerprascle <prascle>
Tue, 5 Sep 2006 15:28:07 +0000 (15:28 +0000)
bin/appli_gen.py

index 977b3f5c1bbbf1860629faa166800ade53648521..ba6b9889d90b74ba6e6c595a8af15a290df62779 100644 (file)
@@ -174,7 +174,7 @@ def install(prefix,config_file):
 
     f =open(os.path.join(home_dir,'env.d','configSalome.sh'),'w')
     for module in _config["modules"]:
-        command='export '+ module + '_ROOT_DIR=' + _config[module] +'\n'
+        command='export '+ module + '_ROOT_DIR=' + home_dir +'\n'
         f.write(command)
         pass
     if _config.has_key("samples_path"):