From 9194364ad049380d75c98cb78cb427445df147f1 Mon Sep 17 00:00:00 2001 From: Daniel STAN Date: Tue, 10 Nov 2015 21:05:59 +0100 Subject: [PATCH] check_repos: chdir avant de find --- utils/check_repos.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/check_repos.sh b/utils/check_repos.sh index 9863c134..c7bf1b4c 100755 --- a/utils/check_repos.sh +++ b/utils/check_repos.sh @@ -19,12 +19,12 @@ check_repo () { } fetch_updates () { + cd $1 if test ! "`find .git/FETCH_HEAD -mmin +$PERIOD`"; then return fi umask 002 echo "fetching $1" - cd $1 git fetch origin > /dev/null }