From 40e0143b9f773779540ec5a76ee135891561f3a1 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Mon, 23 Mar 2015 17:01:24 +0100 Subject: [PATCH] scripts/Bootstrap/Pmodules/libmodules.tcl: add debug output if PREFIX does not exist --- scripts/Bootstrap/Pmodules/libmodules.tcl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/Bootstrap/Pmodules/libmodules.tcl b/scripts/Bootstrap/Pmodules/libmodules.tcl index 7ad721c..f1a355e 100644 --- a/scripts/Bootstrap/Pmodules/libmodules.tcl +++ b/scripts/Bootstrap/Pmodules/libmodules.tcl @@ -181,6 +181,8 @@ proc set_std_environment { PREFIX name version } { if { [lsearch ${::dont-setenv} "${NAME}_HOME"] == -1 } { setenv ${NAME}_HOME $PREFIX } + } else { + debug "$PREFIX is not a directory" } if { [file isdirectory "$PREFIX/bin"] } {