Salome HOME
projects
/
tools
/
hxx2salome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59f9486
)
Don't use antmore HXX2SALOME_ROOT_DIR.
author
crouzet
<crouzet>
Wed, 15 Apr 2009 14:30:57 +0000
(14:30 +0000)
committer
crouzet
<crouzet>
Wed, 15 Apr 2009 14:30:57 +0000
(14:30 +0000)
Replaced by `dirname $0`
scripts/SA_new_cpp_component
patch
|
blob
|
history
diff --git
a/scripts/SA_new_cpp_component
b/scripts/SA_new_cpp_component
index 09d13fab60964c860792c7e6e5af87f12fc86520..87b76b4e26754b154ac4cdd10809793e006eca3c 100755
(executable)
--- 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}