3 # List all the files under version control in the source tree.
9 *) echo >&2 "Usage: $0 [top_srcdir]"; exit 2 ;;
12 if [ -r .git
/HEAD
]; then
14 # List files for glibc core.
16 # List files for glibc ports.
18 if [ -d "$PWD/$ports" ]; then
20 ${GIT:-git} ls-files |
sed -e "s,^,$ports/,g"
22 # We expect the glibc-ports directory to be symlinked as PORTS.
23 # The glibc release manager will run this script as part of libc.pot
24 # regeneration and should ensure the symlink to PORTS is setup.
25 echo >&2 "WARNING: No \"$ports\" directory found. Expected glibc-ports"\
26 "source directory to be symlinked as \"$ports\" directory."
31 echo >&2 'Cannot list sources without some version control system in use.'