81b67dcb88
- fix endif instead of fi typo in bash script
[ROCm/rocprofiler-systems commit: 40e0d2a92f]
15 lines
230 B
Bash
Executable File
15 lines
230 B
Bash
Executable File
#!/bin/bash -l
|
|
|
|
if [ -f /etc/profile.d/modules.sh ]; then
|
|
source /etc/profile.d/modules.sh
|
|
module load mpi &> /dev/null
|
|
fi
|
|
|
|
if [ -z "${1}" ]; then
|
|
: ${SHELL:=/bin/bash}
|
|
exec ${SHELL}
|
|
else
|
|
set -e
|
|
eval $@
|
|
fi
|