diff mbox

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

Message ID Pine.LNX.4.64.1406262037500.11339@digraph.polyomino.org.uk
State Committed
Headers show

Commit Message

Joseph Myers June 26, 2014, 8:38 p.m. UTC
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.

2014-06-26  Joseph Myers  <joseph@codesourcery.com>

	* scripts/list-sources.sh: Do not handle ports specially.

Comments

Roland McGrath June 26, 2014, 8:40 p.m. UTC | #1
OK
diff mbox

Patch

diff --git a/scripts/list-sources.sh b/scripts/list-sources.sh
index 528e971..d1c6803 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