Salome HOME
Merge from V6_5_BR 05/06/2012
[modules/smesh.git] / src / Tools / padder / resources / padderexe / padder.sh
1 #!/bin/sh
2 # Copyright (C) 2011-2012  CEA/DEN, EDF R&D
3 #
4 # This library is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU Lesser General Public
6 # License as published by the Free Software Foundation; either
7 # version 2.1 of the License.
8 #
9 # This library is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12 # Lesser General Public License for more details.
13 #
14 # You should have received a copy of the GNU Lesser General Public
15 # License along with this library; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
17 #
18 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
19 #
20
21 # This script emulates the launcher script that will be generated by
22 # the padder SALOME component and give as the "job file" to the SALOME
23 # launcher to execute the padder job.
24 # The script is supposed to be executed where the data are located.
25
26 here=$(dirname $0)
27
28 # >>> This part should be written by the component
29 binpath=$here/padder.exe
30 envpath=$here/envPadder.sh
31 # <<<
32
33 . $envpath
34 $binpath $here/data.txt