bamboo: no module environment on the Mac

This commit is contained in:
Shahram Najm 2015-07-28 11:14:00 +01:00
parent 6b1c39a543
commit bb1229ec13
1 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,5 @@
# No module environment on the Mac
[[ $(uname) -eq "Darwin" ]] && return
# Initialise module environment if it is not
if [[ ! $(command -v module > /dev/null 2>&1) ]]; then
. /usr/local/apps/module/init/bash