facf0c92e0
Red Bear OS is a full fork. All sources must be available from git clone with zero network access. Removed gitignore rules that excluded fetched source trees under recipes/*/source/, local/recipes/kde/*/source/, local/recipes/qt/*/source/, and vendor source trees. Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded. 127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt frameworks, mesa, wayland, DRM drivers, and every other recipe source.
34 lines
705 B
Bash
Executable File
34 lines
705 B
Bash
Executable File
#! /bin/sh
|
|
. "${srcdir=.}/init.sh"; path_prepend_ . ../src
|
|
|
|
# Test --update: location changed, and xgettext comment added. Both changes
|
|
# must be reflected in the resulting PO file. With Java .properties syntax.
|
|
|
|
cat <<\EOF > mm-p-2.po
|
|
#: cogarithmetic.cc:12
|
|
white=wei\u00df
|
|
EOF
|
|
|
|
cat <<EOF > mm-p-2.pot
|
|
#. location changed
|
|
#: cogarithmetic.cc:33
|
|
!white=
|
|
EOF
|
|
|
|
: ${MSGMERGE=msgmerge}
|
|
${MSGMERGE} -q --properties-input --update mm-p-2.po mm-p-2.pot || Exit 1
|
|
mv mm-p-2.po mm-p-2.tmp || { Exit 1; }
|
|
LC_ALL=C tr -d '\r' < mm-p-2.tmp > mm-p-2.po || Exit 1
|
|
|
|
cat <<\EOF > mm-p-2.ok
|
|
#. location changed
|
|
#: cogarithmetic.cc:33
|
|
white=wei\u00df
|
|
EOF
|
|
|
|
: ${DIFF=diff}
|
|
${DIFF} mm-p-2.ok mm-p-2.po
|
|
result=$?
|
|
|
|
exit $result
|