Skip to content
Snippets Groups Projects
Commit cb20707a authored by Robert Martin-Legene's avatar Robert Martin-Legene
Browse files

Hay que copiar despues que existe la carpeta de destino

parent b41d22d7
No related branches found
No related tags found
No related merge requests found
...@@ -154,10 +154,6 @@ function usersetup ...@@ -154,10 +154,6 @@ function usersetup
function userconfig function userconfig
{ {
if [ ! -e "${BFAHOME}/bin/env" ]
then
cp -p ${BFAHOME}/$envfile ${BFAHOME}/bin/env
fi
if [ $( expand < .bashrc | grep -E "source ${BFAHOME}/bin/env" | wc -l ) -eq 0 ] if [ $( expand < .bashrc | grep -E "source ${BFAHOME}/bin/env" | wc -l ) -eq 0 ]
then then
info "Adding to automatically source ${BFAHOME}/bin/env via .bashrc" info "Adding to automatically source ${BFAHOME}/bin/env via .bashrc"
...@@ -173,6 +169,10 @@ function userconfig ...@@ -173,6 +169,10 @@ function userconfig
cd "$BFAHOME" cd "$BFAHOME"
git pull git pull
fi fi
if [ ! -e "${BFAHOME}/bin/env" ]
then
cp -p ${BFAHOME}/$envfile ${BFAHOME}/bin/env
fi
PATH=${PATH}:${BFAHOME}/bin PATH=${PATH}:${BFAHOME}/bin
} }
......
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