Skip to content
Snippets Groups Projects
Commit 4a27bcfd authored by Roberto Pereyra Pigerl's avatar Roberto Pereyra Pigerl
Browse files

Ajuste linea git switch, que se utilizo para test y comenta liena cd automatico para bfa

parent eae5b37f
No related branches found
No related tags found
2 merge requests!7Rpereyra2022,!5Rpereyra2022
This commit is part of merge request !5. Comments created here will be created in the context of that merge request.
...@@ -137,14 +137,13 @@ function userconfig ...@@ -137,14 +137,13 @@ function userconfig
then then
info "Adding to automatically source ${BFAHOME}/bin/env via .bashrc" info "Adding to automatically source ${BFAHOME}/bin/env via .bashrc"
echo "test -r ${BFAHOME}/bin/env && source ${BFAHOME}/bin/env" >> ~bfa/.bashrc echo "test -r ${BFAHOME}/bin/env && source ${BFAHOME}/bin/env" >> ~bfa/.bashrc
echo "cd ${BFAHOME}" >> ~bfa/.bashrc ##echo "cd ${BFAHOME}" >> ~bfa/.bashrc
fi fi
# cloning if not done already, or just update (pull) # cloning if not done already, or just update (pull)
if [ ! -d "${BFAHOME}" ] if [ ! -d "${BFAHOME}" ]
then then
# initial cloning # initial cloning
runasownerof ${BFAHOME%/*} git clone https://gitlab.bfa.ar/blockchain/nucleo.git $BFAHOME runasownerof ${BFAHOME%/*} git clone https://gitlab.bfa.ar/blockchain/nucleo.git $BFAHOME
git switch rpereyra2022
else else
runasownerof "${BFAHOME}" git pull runasownerof "${BFAHOME}" git pull
fi fi
...@@ -202,7 +201,6 @@ function setupquestions ...@@ -202,7 +201,6 @@ function setupquestions
fi fi
fi fi
} }
###apt-get install -y -qq git software-properties-common jq ncurses-bin curl
usersetup usersetup
setupquestions setupquestions
apt-get install -y -qq git software-properties-common jq ncurses-bin curl apt-get install -y -qq git software-properties-common jq ncurses-bin curl
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment