Commit cb81df5d authored by Jonathan Harker's avatar Jonathan Harker
Browse files

Fix timing error in generate-mo-files.sh

parent 17376f90
......@@ -32,7 +32,7 @@ fi
if [ ! -d launchpad ]; then
echo "Checking out the launchpad .po files"
bzr checkout lp:~mahara-lang/mahara-manual/${version}_STABLE-export launchpad || exit 1
elif [ -z $(find launchpad/.bzr/checkout/lock -type d -mmin -480 |head -1) ]; then
elif [ -z $(find launchpad/.bzr/checkout/lock -type d -mmin 120 |head -1) ]; then
# Re-fetch from Launchpad if more than eight hours old, so that it
# skips during a dev or testing session, but a daily cron always fetches.
echo "Updating .po collection from launchpad"
......
Supports Markdown
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