#!/bin/bash
-xhost +
echo "parameters : $1 $2 $3" > /home/siman/check_params.txt
echo "$#" >> /home/siman/check_params.txt
-if [ "$#" -ne 1 ] ; then
+if [ "$#" -ne 3 ] ; then
echo "Usage :
`basename $0` --siman-study=<studyID> --siman-scenario=<scenarioID> --siman-user=<userID>"
echo "for example :
export SIMAN_WS_HOST="172.22.2.65:8080"
+export PYTHONPATH="/tmp/SimanSalome/${3##*=}/download":${PYTHONPATH}
+
echo "parameters 3: $1 $2 $3" >> /home/siman/check_params.txt
#export SALOME_ROOT_DIR=${PWD}
-echo ">>> SALOME-SIMAN rurring" >> /home/siman/check_params.txt
+echo ">>> SALOME-SIMAN running" >> /home/siman/check_params.txt
echo "parameters 4: $1 $2 $3" >> /home/siman/check_params.txt