Files
Jonathan R. Madsen 81b67dcb88 Update entrypoint-rhel.sh (#255)
- fix endif instead of fi typo in bash script

[ROCm/rocprofiler-systems commit: 40e0d2a92f]
2023-03-08 01:54:06 -06:00

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