Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Staging:D
translation-update-upstream
msgheadermerge-parse
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File msgheadermerge-parse of Package translation-update-upstream
#!/bin/bash # helper script for msgheadermerge PO_HEADER_DIR=$1 if mkdir 2>/dev/null $PO_HEADER_DIR.merge-dir ; then while read ; do TAG=${REPLY%%:*} if test "$TAG" = "$REPLY" -o -z "$TAG" ; then echo "ERROR: Malformed header line $PO_HEADER_DIR/$TAG. Ignoring." >&2 else TAG=${TAG//\//__SLASH__} # safety check VALUE=${REPLY#*:} VALUE=${VALUE# } echo >"$PO_HEADER_DIR.merge-dir/$TAG" "$VALUE" echo >>$PO_HEADER_DIR.order "$TAG" fi done touch -d "$(<$PO_HEADER_DIR.merge-dir/POT-Creation-Date)" $PO_HEADER_DIR.merge-dir/POT-Creation-Date touch -d "$(<$PO_HEADER_DIR.merge-dir/PO-Revision-Date)" $PO_HEADER_DIR.merge-dir/PO-Revision-Date else exit 1 fi
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