Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 23 lines (18 sloc) 561 Bytes
#!/usr/bin/env bash
# seqcloud HPC bootloader
# (c) 2018 Michael J. Steinbaugh
# http://seq.cloud
# This software is provided under an MIT License
export SEQCLOUD_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# Check for supported operating system
if [[ $(uname -s) != "Linux" ]] && [[ $(uname -s) != "Darwin" ]]; then
echo "$(uname -s) operating system not supported"
return 1
fi
# Login scripts
where="${SEQCLOUD_DIR}/login"
for file in $(find "$where" -type f -name "*.sh" ! -name ".*" | sort)
do
. "$file"
done
unset -v file where