Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
scripts
mahara-scripts
Commits
c818c9e0
Commit
c818c9e0
authored
Jun 20, 2011
by
Richard Mansfield
Browse files
Pull from launchpad repo before writing template changes
parent
f43b5502
Changes
1
Hide whitespace changes
Inline
Side-by-side
mahara-langpacks/update-pot.sh
View file @
c818c9e0
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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