Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Pmodules
buildblocks
Commits
40e0143b
Commit
40e0143b
authored
Mar 23, 2015
by
gsell
Browse files
scripts/Bootstrap/Pmodules/libmodules.tcl: add debug output if PREFIX does not exist
parent
9523996b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
scripts/Bootstrap/Pmodules/libmodules.tcl
scripts/Bootstrap/Pmodules/libmodules.tcl
+2
-0
No files found.
scripts/Bootstrap/Pmodules/libmodules.tcl
View file @
40e0143b
...
@@ -181,6 +181,8 @@ proc set_std_environment { PREFIX name version } {
...
@@ -181,6 +181,8 @@ proc set_std_environment { PREFIX name version } {
if
{
[
lsearch $
{
::dont-setenv
}
"
${NAME}
_HOME"
]
== -1
}
{
if
{
[
lsearch $
{
::dont-setenv
}
"
${NAME}
_HOME"
]
== -1
}
{
setenv
${NAME}
_HOME $PREFIX
setenv
${NAME}
_HOME $PREFIX
}
}
}
else
{
debug
"
$
PREFIX is not a directory"
}
}
if
{
[
file isdirectory
"
$
PREFIX/bin"
]
}
{
if
{
[
file isdirectory
"
$
PREFIX/bin"
]
}
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment