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

50 lines
880 B
Bash
Executable File

#! /bin/sh
. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test --sort-by-file option, when no file positions are present.
cat <<\EOF > mm-test29.po
msgid "a"
msgstr "a"
#~ msgid "c"
#~ msgstr "c"
#~ msgid "d"
#~ msgstr "d"
#~ msgid "b"
#~ msgstr "b"
EOF
cat <<EOF > mm-test29.pot
msgid "a"
msgstr ""
EOF
: ${MSGMERGE=msgmerge}
${MSGMERGE} -q --sort-by-file -o mm-test29.tmp mm-test29.po mm-test29.pot || Exit 1
LC_ALL=C tr -d '\r' < mm-test29.tmp > mm-test29.po2 || Exit 1
${MSGMERGE} -q --sort-by-file -o mm-test29.tmp mm-test29.po2 mm-test29.pot || Exit 1
LC_ALL=C tr -d '\r' < mm-test29.tmp > mm-test29.po3 || Exit 1
cat <<\EOF > mm-test29.ok
msgid "a"
msgstr "a"
#~ msgid "b"
#~ msgstr "b"
#~ msgid "c"
#~ msgstr "c"
#~ msgid "d"
#~ msgstr "d"
EOF
: ${DIFF=diff}
${DIFF} mm-test29.ok mm-test29.po2 || Exit 1
${DIFF} mm-test29.ok mm-test29.po3 || Exit 1
Exit 0