Files
vasilito facf0c92e0 feat: track all source trees in git — full fork offline-first model
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.
2026-05-14 10:55:53 +01:00

53 lines
847 B
Bash
Executable File

#! /bin/sh
. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test handling of comments.
cat <<EOF > mm-test4.in1.po
msgid "one"
msgstr "eins"
# This comment should be copied.
msgid "two"
msgstr "zwei"
# And this one, too.
#~ msgid "four"
#~ msgstr "vier"
EOF
cat <<EOF > mm-test4.in2.po
msgid "one"
msgstr ""
# This is a comment in the POT file.
msgid "three"
msgstr ""
EOF
: ${MSGMERGE=msgmerge}
${MSGMERGE} -q -o mm-test4.tmp mm-test4.in1.po mm-test4.in2.po || Exit 1
LC_ALL=C tr -d '\r' < mm-test4.tmp > mm-test4.out || Exit 1
cat <<EOF > mm-test4.ok
msgid "one"
msgstr "eins"
# This is a comment in the POT file.
msgid "three"
msgstr ""
# This comment should be copied.
#~ msgid "two"
#~ msgstr "zwei"
# And this one, too.
#~ msgid "four"
#~ msgstr "vier"
EOF
: ${DIFF=diff}
${DIFF} mm-test4.ok mm-test4.out
result=$?
exit $result