mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
Regenerate libc.pot.
Enhance scripts/list-sources.sh to search glibc-ports for translatable strings.
This commit is contained in:
parent
8d847132bc
commit
feca660a79
2516
po/libc.pot
2516
po/libc.pot
File diff suppressed because it is too large
Load Diff
@ -11,8 +11,21 @@ esac
|
||||
|
||||
if [ -r .git/HEAD ]; then
|
||||
|
||||
exec ${GIT:-git} ls-files
|
||||
|
||||
# List files for glibc core.
|
||||
${GIT:-git} ls-files
|
||||
# List files for glibc ports.
|
||||
ports="ports"
|
||||
if [ -d "$PWD/$ports" ]; then
|
||||
cd "$PWD/$ports"
|
||||
${GIT:-git} ls-files | sed -e "s,^,$ports/,g"
|
||||
else
|
||||
# We expect the glibc-ports directory to be symlinked as PORTS.
|
||||
# The glibc release manager will run this script as part of libc.pot
|
||||
# regeneration and should ensure the symlink to PORTS is setup.
|
||||
echo >&2 "WARNING: No \"$ports\" directory found. Expected glibc-ports"\
|
||||
"source directory to be symlinked as \"$ports\" directory."
|
||||
fi
|
||||
exit 0
|
||||
fi
|
||||
|
||||
echo >&2 'Cannot list sources without some version control system in use.'
|
||||
|
Loading…
Reference in New Issue
Block a user