From: crouzet Date: Wed, 15 Apr 2009 14:30:57 +0000 (+0000) Subject: Don't use antmore HXX2SALOME_ROOT_DIR. X-Git-Tag: V5_1_2rc1~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=676e138457cc28317d29c18360962489f2fc009a;p=tools%2Fhxx2salome.git Don't use antmore HXX2SALOME_ROOT_DIR. Replaced by `dirname $0` --- 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}