Add REPO_TOP env var
This commit is contained in:
29
init_env.sh
Normal file
29
init_env.sh
Normal file
@@ -0,0 +1,29 @@
|
||||
# # This stuff will install efinity per machine, per project.
|
||||
# # That would be a lot of wasted storage
|
||||
|
||||
# ENV=".env/$HOSTNAME"
|
||||
|
||||
# if [ ! -d "$ENV" ]; then
|
||||
# mkdir -p "$ENV"
|
||||
# fi
|
||||
|
||||
# if [ ! -f "$ENV/efinity-2023.1.150-rhe-x64.tar.bz2" ]; then
|
||||
# scp 192.168.50.101:/export/scratch/efinity-2023.1.150-rhe-x64.tar.bz2 "$ENV"
|
||||
# fi
|
||||
|
||||
# if [ ! -d "$ENV/efinity" ]; then
|
||||
# pv "$ENV/efinity-2023.1.150-rhe-x64.tar.bz2" | tar xj --directory "$ENV"
|
||||
# scp 192.168.50.101:/export/scratch/libffi.so.6 "$ENV/efinity/2023.1/lib/"
|
||||
# fi
|
||||
|
||||
# source "$ENV/efinity/2023.1/bin/setup.sh"
|
||||
# export PATH=$PATH:"$EFXPT_HOME/bin"
|
||||
|
||||
source $EFX_SETUP
|
||||
export REPO_TOP=$(git rev-parse --show-toplevel)
|
||||
|
||||
|
||||
# python -m venv .user_venv --system-site-packages
|
||||
# . .user_venv/bin/activate
|
||||
|
||||
# pip install -r requirements.txt
|
||||
Reference in New Issue
Block a user