Loading cloneall.bash +8 −8 Original line number Diff line number Diff line Loading @@ -3,7 +3,8 @@ set -vex REPOS=(${REPOS:=gitlab-profile core io integrate octree domain PM}) : ${SESSION_NAME:=hw} : ${HW_BUILD=$PWD/build/} : ${HW_DATA=$PWD/build/} while getopts "cptlr:" opt do Loading @@ -21,18 +22,17 @@ if [ -z "$clona" ] && [ -z "$pyinsta" ] && [ -z "$tmuxa" ] && [ -z "$linka" ];th exit 1 fi for REPO in "${REPOS[@]}"; do echo [ $REPO ] done #exit 0 if [ ! -z "$clona" ]; then if [[ ! -f .env ]]; then echo "export HW_BUILD=$HW_BUILD" > .env echo "export HW_DATA=$HW_DATA" >> .env echo "export DEBUG=1" >> .env fi . .env [[ ! -d "venv" ]] && python3 -mvenv venv . venv/bin/activate pip install autopep8 pip install matplotlib touch .env for REPO in "${REPOS[@]}"; do [[ ! -d "$REPO" ]] && git clone ssh://git@git.ia2.inaf.it/hotwheels/$REPO.git Loading Loading
cloneall.bash +8 −8 Original line number Diff line number Diff line Loading @@ -3,7 +3,8 @@ set -vex REPOS=(${REPOS:=gitlab-profile core io integrate octree domain PM}) : ${SESSION_NAME:=hw} : ${HW_BUILD=$PWD/build/} : ${HW_DATA=$PWD/build/} while getopts "cptlr:" opt do Loading @@ -21,18 +22,17 @@ if [ -z "$clona" ] && [ -z "$pyinsta" ] && [ -z "$tmuxa" ] && [ -z "$linka" ];th exit 1 fi for REPO in "${REPOS[@]}"; do echo [ $REPO ] done #exit 0 if [ ! -z "$clona" ]; then if [[ ! -f .env ]]; then echo "export HW_BUILD=$HW_BUILD" > .env echo "export HW_DATA=$HW_DATA" >> .env echo "export DEBUG=1" >> .env fi . .env [[ ! -d "venv" ]] && python3 -mvenv venv . venv/bin/activate pip install autopep8 pip install matplotlib touch .env for REPO in "${REPOS[@]}"; do [[ ! -d "$REPO" ]] && git clone ssh://git@git.ia2.inaf.it/hotwheels/$REPO.git Loading