about summary refs log tree commit diff
path: root/scripts/list-sources.sh
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2014-06-26 21:30:07 +0000
committerJoseph Myers <joseph@codesourcery.com>2014-06-26 21:30:07 +0000
commit354426bb34a7dba084cd1dbef46db0994c48988f (patch)
treec1f8400382ba740f4376024f3b4896a5c5e84ed1 /scripts/list-sources.sh
parenta3dd035d9d87273d2feae6910f80fe888f6aeba0 (diff)
downloadglibc-354426bb34a7dba084cd1dbef46db0994c48988f.tar.gz
glibc-354426bb34a7dba084cd1dbef46db0994c48988f.tar.xz
glibc-354426bb34a7dba084cd1dbef46db0994c48988f.zip
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.
Diffstat (limited to 'scripts/list-sources.sh')
-rwxr-xr-xscripts/list-sources.sh14
1 files changed, 0 insertions, 14 deletions
diff --git a/scripts/list-sources.sh b/scripts/list-sources.sh
index 528e971b42..d1c6803af6 100755
--- a/scripts/list-sources.sh
+++ b/scripts/list-sources.sh
@@ -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