Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DD4hep
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cepc
externals
mirroring
DD4hep
Commits
b442d3fd
Commit
b442d3fd
authored
7 years ago
by
David Blyth
Committed by
Andre Sailer
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fixed more remnants of copying environment scripts
parent
6c66c518
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cmake/thisdd4hep_only.csh
+1
-1
1 addition, 1 deletion
cmake/thisdd4hep_only.csh
cmake/thisdd4hep_only.sh
+3
-8
3 additions, 8 deletions
cmake/thisdd4hep_only.sh
with
4 additions
and
9 deletions
cmake/thisdd4hep_only.csh
+
1
−
1
View file @
b442d3fd
...
...
@@ -2,7 +2,7 @@
# This version of the script has been modified to set up environment variables for
# only DD4hep.
#
# This script if for the csh like shells, see thisdd4hep.sh for bash like shells.
# This script if for the csh like shells, see thisdd4hep
_only
.sh for bash like shells.
#
# Author: Pere Mato
...
...
This diff is collapsed.
Click to expand it.
cmake/thisdd4hep_only.sh
+
3
−
8
View file @
b442d3fd
...
...
@@ -8,23 +8,19 @@
# Author: Pere Mato. F. Gaede, M.Frank
#-------------------------------------------------------------------------------
#
#echo " ### thisdd4hep.sh: initialize the environment for DD4hep ! "
#echo " ### thisdd4hep
_only
.sh: initialize the environment for DD4hep ! "
#
#-----------------------------------------------------------------------------
dd4hep_parse_this
()
{
package
=
${
2
}
;
if
[
"x
${
1
}
"
=
"x"
]
;
then
if
[
!
-f
bin/this
${
package
}
.sh
]
;
then
echo
ERROR: must
"cd where/
${
package
}
/is"
before calling
". bin/this
${
package
}
.sh"
for
this version of bash!
;
if
[
!
-f
bin/this
${
package
}
_only
.sh
]
;
then
echo
ERROR: must
"cd where/
${
package
}
/is"
before calling
". bin/this
${
package
}
_only
.sh"
for
this version of bash!
;
return
1
;
fi
THIS
=
"
${
PWD
}
"
;
else
# get param to "."
THIS
=
$(
dirname
$(
dirname
${
1
}
))
;
#if [ ! -f ${THIS}/bin/this${package}.sh ]; then
# THIS=$(dirname ${package});
#fi;
fi
;
THIS
=
$(
cd
${
THIS
}
>
/dev/null
;
pwd
)
;
}
...
...
@@ -39,7 +35,6 @@ dd4hep_add_path() {
path_value
=
${
path_prefix
}
;
fi
;
eval export
${
path_name
}
=
${
path_value
}
;
## echo "dd4hep_add_path: ${path_name}=${path_value}";
}
#-----------------------------------------------------------------------------
dd4hep_add_library_path
()
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment