1
0
Bifurcation 0

Implmented code for building the specific locales.

Cette révision appartient à :
Nathanial.C.Jones 2011-06-29 17:20:18 +00:00
Parent 25eda24c3d
révision 96c228935d
1 fichiers modifiés avec 12 ajouts et 0 suppressions

Voir le fichier

@ -4,6 +4,7 @@ release=a
version=0
issue=0
branch=trunk
locale=all
if [ $# -eq 0 ]
then
@ -19,6 +20,7 @@ do
-version) version="$2"; shift;;
-issue) issue="$2"; shift;;
-branch) branch="$2"; shift;;
-locale) locale="$2"; shift;;
-*) echo >&2 \
"usage: $0 [-release a|b|r] [-version some_repository_version] [-issue an_issue_number] [-branch trunk|some_branch]"
exit 1;;
@ -87,6 +89,16 @@ cd build
release_string=${version}${release}
echo Copying appropriate locale file into place.
cp -v QHData/QHData.toc.${locale} QHData/QHData.toc
if [ $? -ne 0 ]
then
echo Build fails. Cleaning up.
cd ..
rm -rvf build
echo Build failed. Unknown locale.
fi
echo Replacing version tag and creating package.
if [ $issue -gt 0 ]
then