about summary refs log tree commit diff
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
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.
-rw-r--r--ChangeLog4
-rwxr-xr-xscripts/list-sources.sh14
2 files changed, 4 insertions, 14 deletions
diff --git a/ChangeLog b/ChangeLog
index e522e41c9f..67b89571d3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>.
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