Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2:Update
package-translations
PREPARE_PACKAGE
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File PREPARE_PACKAGE of Package package-translations
#!/bin/bash test -f package-translations.spec || { "cwd must contain package-translations.spec"; exit 1; } if test -d "$MY_LCN_PACK_CHECKOUT"; then echo "Updating $MY_LCN_PACK_CHECKOUT" svn up $MY_LCN_PACK_CHECKOUT else echo "No \$MY_LCN_PACK_CHECKOUT set, will checkout temporarly" svn export https://forgesvn1.novell.com/svn/suse-i18n/trunk/packages export MY_LCN_PACK_CHECKOUT=$PWD/packages fi rm -rf mo mkdir mo for file in $MY_LCN_PACK_CHECKOUT/*/po; do lang=`echo $file | sed -e "s,/po,,; s,.*/,,"` echo $file $lang msgcat --use-first $file/packages_*.po | msgfmt -o mo/package-translations-$lang.mo - done rm -f package-translations.tar.bz2 tar cfj package-translations.tar.bz2 mo rm -rf mo exit 0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor