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.
31 lines
483 B
Bash
Executable File
31 lines
483 B
Bash
Executable File
#! /bin/sh
|
|
. "${srcdir=.}/init.sh"; path_prepend_ . ../src
|
|
|
|
# Test --add-location=file option.
|
|
|
|
cat <<\EOF > msguniq-7.in
|
|
#: foo:1
|
|
msgid "foo"
|
|
msgstr ""
|
|
|
|
#: bar:1
|
|
msgid "foo"
|
|
msgstr ""
|
|
EOF
|
|
|
|
: ${MSGUNIQ-msguniq}
|
|
${MSGUNIQ} --add-location=file -o msguniq-7.tmp msguniq-7.in || Exit 1
|
|
LC_ALL=C tr -d '\r' < msguniq-7.tmp > msguniq-7.out || Exit 1
|
|
|
|
cat <<\EOF > msguniq-7.ok
|
|
#: foo bar
|
|
msgid "foo"
|
|
msgstr ""
|
|
EOF
|
|
|
|
: ${DIFF=diff}
|
|
${DIFF} msguniq-7.ok msguniq-7.out
|
|
result=$?
|
|
|
|
exit $result
|