Skip to content
Snippets Groups Projects
Commit daaf1043 authored by Antonio Ragagnin's avatar Antonio Ragagnin :speech_balloon:
Browse files

fix cloneall

parent 988d6e2d
No related branches found
No related tags found
No related merge requests found
......@@ -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
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment