]> SALOME platform Git repositories - modules/kernel.git/blob - bin/createAppli.sh
Salome HOME
PR: merge from branch BR_auto_V310 tag mergefrom_OCC_development_for_3_2_0a2_10mar06
[modules/kernel.git] / bin / createAppli.sh
1 #!/bin/sh
2
3 comName=`which $0`
4 rep=`dirname $comName`
5
6 if [ $# -ne 1 ]; then
7   echo "--- usage:"
8   echo $0 AppliName
9   echo "--- In which AppliName is a directory to create with SALOME application scripts"
10 elif [ -d $1 ]; then
11   echo $1 "directory already exists, nothing done"
12 else
13   mkdir -p $1
14   cp -r $rep/appliskel/* $1
15   cp $rep/appliskel/.bashrc $1
16   chmod +x $1/*.sh $1/run* $1/envd
17 fi