Verified Commit 752e7709 authored by Fryntiz's avatar Fryntiz

Correcciones

parent e8b0d1d8
......@@ -106,7 +106,7 @@ updateRepo() {
git pull
fi
cd $WORKSCRIPT || exit 1
cd $DIRGIT || exit 1
}
##
......@@ -117,11 +117,14 @@ comenzar() {
cd $DIRGIT || exit
for dir in *; do
echo -e "Comprobando si ${dir} es un repositorio"
if [[ -d "$dir" ]] && [[ -d "${dir}/.git" ]]; then
echo -e "Actualizando $dir"
updateRepo "$dir"
fi
done
cd $WORKSCRIPT
}
inputDir "$1"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment