Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Kristina Hoeppner
manual
Commits
cb81df5d
Commit
cb81df5d
authored
Nov 10, 2016
by
Jonathan Harker
Browse files
Fix timing error in generate-mo-files.sh
parent
17376f90
Changes
1
Hide whitespace changes
Inline
Side-by-side
generate-mo-files.sh
View file @
cb81df5d
...
...
@@ -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
-48
0
|head
-1
)
]
;
then
elif
[
-z
$(
find launchpad/.bzr/checkout/lock
-type
d
-mmin
12
0 |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"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment