annotate deploy/config/cron.hourly/40-export-git @ 1624:76f8f0814e1e live

Use --check to avoid errors when updating in repos with more than one head
author Chris Cannam
date Fri, 10 Aug 2018 16:08:05 +0100
parents c18460da6620
children
rev   line source
Chris@1586 1 #!/bin/bash
Chris@1590 2
Chris@1586 3 logfile="/var/www/code/log/export-git.log"
Chris@1590 4
Chris@1586 5 sudo -u code sh -c "cd /tmp ; /var/www/code/extra/soundsoftware/export-git.sh production /var/hg /var/files/git-mirror >> $logfile 2>&1"
Chris@1590 6