Commit c0825141 authored by Remi Oudin's avatar Remi Oudin

Umask au bon endroit dans check repos

parent 2ea500e7
......@@ -24,6 +24,7 @@ check_repo () {
fetch_updates () {
cd $1
umask 002
if [ ! -f ".git/FETCH_HEAD" ]; then
echo "Initial fetching of the repo"
git fetch
......@@ -31,7 +32,6 @@ fetch_updates () {
if test ! "`find .git/FETCH_HEAD -mmin +$PERIOD`"; then
return
fi
umask 002
echo "fetching $1"
if [ $hasmodules -eq 0 ]; then
echo "Fetching recursively"
......
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