Update scripts/list-sources.sh for ports repository merge.

scripts/list-sources.sh includes handling of ports that has been
obsolete ever since the ports repository was merged into the libc
repository.  This patch removes that handling.

Tested by regenerating libc.pot and examining the resulting changes.

	* scripts/list-sources.sh: Do not handle ports specially.
This commit is contained in:
Joseph Myers 2014-06-26 21:30:07 +00:00
parent a3dd035d9d
commit 354426bb34
2 changed files with 4 additions and 14 deletions

View File

@ -1,3 +1,7 @@
2014-06-26 Joseph Myers <joseph@codesourcery.com>
* scripts/list-sources.sh: Do not handle ports specially.
2014-06-26 Roland McGrath <roland@hack.frob.com>
* sysdeps/arm/fesetenv.c: Include <fpu_control.h>.

View File

@ -10,21 +10,7 @@ case $# in
esac
if [ -r .git/HEAD ]; then
# 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