mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-07-05 13:20:50 +02:00
modulefile: source shell init script only in mode 'load'
This commit is contained in:
+3
-3
@@ -22,7 +22,7 @@ if { [module-info mode load] } {
|
||||
}
|
||||
remove-path C_INCLUDE_PATH "$PREFIX/include"
|
||||
remove-path CPLUS_INCLUDE_PATH "$PREFIX/include"
|
||||
}
|
||||
|
||||
set shell [module-info shell]
|
||||
puts "source \"$PREFIX/init/$shell\""
|
||||
set shell [module-info shell]
|
||||
puts "source \"$PREFIX/init/$shell\""
|
||||
}
|
||||
Reference in New Issue
Block a user