From 708a42b5b67bcf12f4248d9d4534f149f44306ce Mon Sep 17 00:00:00 2001 From: Jean-Philippe ARGAUD Date: Wed, 8 Apr 2015 21:26:49 +0200 Subject: [PATCH] Correcting Bash launching advanced example --- doc/en/advanced.rst | 10 ++++------ doc/fr/advanced.rst | 10 ++++------ 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/doc/en/advanced.rst b/doc/en/advanced.rst index 2d5c2ab..3671f88 100644 --- a/doc/en/advanced.rst +++ b/doc/en/advanced.rst @@ -60,13 +60,11 @@ between these symbols ``<...>``. The template of the shell script is the following:: #!/bin/bash - export USERDIR= - export SALOMEDIR= + USERDIR= + SALOMEDIR= $SALOMEDIR/salome start -k -t - $SALOMEDIR/salome shell python \ - $SALOMEDIR/bin/salome/AdaoYacsSchemaCreator.py \ - $USERDIR/ $USERDIR/ - $SALOMEDIR/salome shell driver $USERDIR/ + $SALOMEDIR/salome shell -- "python $SALOMEDIR/bin/salome/AdaoYacsSchemaCreator.py $USERDIR/ $USERDIR/" + $SALOMEDIR/salome shell -- "driver $USERDIR/" $SALOMEDIR/salome shell killSalome.py rm -f $USERDIR/ diff --git a/doc/fr/advanced.rst b/doc/fr/advanced.rst index 85c900c..9ee07d1 100644 --- a/doc/fr/advanced.rst +++ b/doc/fr/advanced.rst @@ -64,13 +64,11 @@ script a seulement besoin de remplacer le texte contenu entre les symboles Le modèle "type" de ce script de commandes shell est le suivant:: #!/bin/bash - export USERDIR= - export SALOMEDIR= + USERDIR= + SALOMEDIR= $SALOMEDIR/salome start -k -t - $SALOMEDIR/salome shell python \ - $SALOMEDIR/bin/salome/AdaoYacsSchemaCreator.py \ - $USERDIR/ $USERDIR/ - $SALOMEDIR/salome shell driver $USERDIR/ + $SALOMEDIR/salome shell -- "python $SALOMEDIR/bin/salome/AdaoYacsSchemaCreator.py $USERDIR/ $USERDIR/" + $SALOMEDIR/salome shell -- "driver $USERDIR/" $SALOMEDIR/salome shell killSalome.py rm -f $USERDIR/ -- 2.39.2