This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.

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

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

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
 

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]