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
scripts
mahara-scripts
Commits
91f6ff9d
Commit
91f6ff9d
authored
Jun 02, 2011
by
Richard Mansfield
Browse files
Fix bzr branch name for language templates
parent
022f09db
Changes
1
Hide whitespace changes
Inline
Side-by-side
mahara-langpacks/update-pot.sh
View file @
91f6ff9d
...
...
@@ -89,7 +89,7 @@ for branch in ${branches} ; do
fi
# Output into a copy of the launchpad mahara-lang repo
[
!
-d
${
BZR
}
/
${
branch
}
]
&&
bzr branch lp:~mahara-
core
/mahara-lang/
${
branch
}
${
BZR
}
/
${
branch
}
[
!
-d
${
BZR
}
/
${
branch
}
]
&&
bzr branch lp:~mahara-
lang
/mahara-lang/
${
branch
}
${
BZR
}
/
${
branch
}
outputdir
=
${
BZR
}
/
${
branch
}
/mahara
[
!
-d
${
outputdir
}
]
&&
mkdir
${
outputdir
}
outputfile
=
${
outputdir
}
/mahara.pot
...
...
@@ -112,7 +112,7 @@ for branch in ${branches} ; do
# Push template to lp:mahara-lang
bzr add mahara/mahara.pot
bzr commit
-m
"Update template to
${
remotecommit
}
"
bzr push lp:~mahara-
core
/mahara-lang/
${
branch
}
bzr push lp:~mahara-
lang
/mahara-lang/
${
branch
}
fi
...
...
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