Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Documentation
opensuse-manuals_fr
create_translation_archive.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File create_translation_archive.sh of Package opensuse-manuals_fr
#!/bin/bash # Script to generate opensuse-html_"$lang"_src_set.tar.bz2 from SVN sources. # Packages deps: # * susedoc-buildbook >= 1.0 (for daps2bs) # * svn # Author(s) : Guillaume GARDET <guillaume.gardet@opensuse.org>, 2013. # Last update: 30 / 04 / 2013 # Useful vars root_folder=$(pwd) tmp_folder="/tmp/opensuse_doc_tmp" SVN_root="http://svn.opensuse.org/svn/opensuse-doc/trunk/documents/distribution" lang="fr" # Checkout sources in a tmp folder mkdir $tmp_folder cd $tmp_folder svn co $SVN_root/$lang cd - cd $tmp_folder/$lang # Create opensuse-html_"$lang"_src_set.tar.bz2 with daps2bs (from susedoc-buildbook package) daps2bs -l $lang --prep-local -d DEF-opensuse-manuals -n opensuse-html mv autobuild/opensuse-html_fr_src_set.tar.bz2 "$root_folder" cd - # Remove tmp folder rm -rf $tmp_folder
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