From 676e138457cc28317d29c18360962489f2fc009a Mon Sep 17 00:00:00 2001 From: crouzet Date: Wed, 15 Apr 2009 14:30:57 +0000 Subject: [PATCH] Don't use antmore HXX2SALOME_ROOT_DIR. Replaced by `dirname $0` --- scripts/SA_new_cpp_component | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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} -- 2.39.2