Commit c818c9e0 authored by Richard Mansfield's avatar Richard Mansfield

Pull from launchpad repo before writing template changes

parent f43b5502
......@@ -89,7 +89,14 @@ for branch in ${branches} ; do
fi
# Output into a copy of the launchpad mahara-lang repo
[ ! -d ${BZR}/${branch} ] && bzr branch lp:~mahara-lang/mahara-lang/${branch} ${BZR}/${branch}
if [ ! -d ${BZR}/${branch} ]; then
bzr branch lp:~mahara-lang/mahara-lang/${branch} ${BZR}/${branch}
else
cd ${BZR}/${branch}
bzr pull
cd ${GITDIR}
fi
outputdir=${BZR}/${branch}/mahara
[ ! -d ${outputdir} ] && mkdir ${outputdir}
outputfile=${outputdir}/mahara.pot
......
Markdown is supported
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