X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=scripts%2FSA_new_cpp_component;h=87b76b4e26754b154ac4cdd10809793e006eca3c;hb=refs%2Ftags%2FV5_1_2rc2;hp=09d13fab60964c860792c7e6e5af87f12fc86520;hpb=202e9749e0a4f42f18f561be5ed7f4f14d52ddf9;p=tools%2Fhxx2salome.git diff --git a/scripts/SA_new_cpp_component b/scripts/SA_new_cpp_component index 09d13fa..87b76b4 100755 --- a/scripts/SA_new_cpp_component +++ b/scripts/SA_new_cpp_component @@ -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}