]> SALOME platform Git repositories - tools/hxx2salome.git/commitdiff
Salome HOME
Don't use antmore HXX2SALOME_ROOT_DIR.
authorcrouzet <crouzet>
Wed, 15 Apr 2009 14:30:57 +0000 (14:30 +0000)
committercrouzet <crouzet>
Wed, 15 Apr 2009 14:30:57 +0000 (14:30 +0000)
Replaced by `dirname $0`

scripts/SA_new_cpp_component

index 09d13fab60964c860792c7e6e5af87f12fc86520..87b76b4e26754b154ac4cdd10809793e006eca3c 100755 (executable)
@@ -35,7 +35,8 @@ then
    usage
 fi
 
-tar xvfz ${HXX2SALOME_ROOT_DIR}/cpp_compo_template.tgz
+sa_new_cpp_component_root_dir=`dirname $0`
+tar xvfz ${sa_new_cpp_component_root_dir}/cpp_compo_template.tgz
 moduleName=${1}CPP_SRC
 mv Cpp_Template__SRC ${moduleName}