Skip to content
Snippets Groups Projects
Commit ab549d57 authored by Quang tru HUYNH's avatar Quang tru HUYNH
Browse files

install-CBP2023-module.sh re-use ISB2022

parent 931be1ff
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
PATH=/sbin:/usr/sbin:/usr/bin:/bin
set -e
set -u
tbindir=$(mktemp -d)
trap "rm -rf \"$tbindir\"" TERM INT EXIT
sudo yum -y install environment-modules || :
umask 022
cat <<EOF | sudo tee /etc/modulefiles/ISB2022
#%Module1.0#####################################################################
module-whatis "enable ISB2022 module path, where the course software is installed"
prepend-path PATH /ISB2022/bin
module use /ISB2022/modulefiles
EOF
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment