From patchwork Thu Jun 26 20:38:28 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 1776 Received: (qmail 6500 invoked by alias); 26 Jun 2014 20:38:36 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 6485 invoked by uid 89); 26 Jun 2014 20:38:36 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL, BAYES_00 autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Date: Thu, 26 Jun 2014 20:38:28 +0000 From: "Joseph S. Myers" To: Subject: Update scripts/list-sources.sh for ports repository merge Message-ID: MIME-Version: 1.0 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 * 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