diff --git a/lib/functions.php b/lib/functions.php index 206a163..80c346b 100755 --- a/lib/functions.php +++ b/lib/functions.php @@ -8,7 +8,7 @@ */ function fetchUpstreamMaster () { - echo shell_exec ("/usr/bin/git -C ../registry/ pull upstream master:master 2>&1"); + echo shell_exec ("/usr/bin/git -C ../registry/ pull upstream master:master --quiet 2>&1"); } /* @@ -19,7 +19,7 @@ function fetchUpstreamMaster () */ function checkoutMaster () { - echo shell_exec ("/usr/bin/git -C ../registry/ o master 2>&1"); + echo shell_exec ("/usr/bin/git -C ../registry/ o master --quiet 2>&1"); } /* diff --git a/update.sh b/update.sh index b156c62..07f460b 100755 --- a/update.sh +++ b/update.sh @@ -3,8 +3,8 @@ ISO_DATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ") # Commit latest version of ROA files -git add roa/* -git commit roa/* -m "Updated ROA files - $ISO_DATE" +git add roa/* --quiet +git commit roa/* -m "Updated ROA files - $ISO_DATE" --quiet # Push repository to every remote configured -for REMOTE in $(git remote | egrep -v upstream | paste -sd " " -) ; do git push $REMOTE master:master ; done +for REMOTE in $(git remote | egrep -v upstream | paste -sd " " -) ; do git push $REMOTE master:master --quiet ; done