From patchwork Wed May 9 15:33:49 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Edelsohn X-Patchwork-Id: 157999 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id CF930B6FA4 for ; Thu, 10 May 2012 01:34:07 +1000 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1337182448; h=Comment: DomainKey-Signature:Received:Received:Received:Received: MIME-Version:Received:Received:Date:Message-ID:Subject:From:To: Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:Sender:Delivered-To; bh=4kTrzYZ I/i+78vnPLOGhwmeLW14=; b=n4aFHexnm4dzG0fgouPTK/U6At7McIE6v11Oza2 XNwP1pEICDBAg5Qp7yXbx13AXY/DkPkE7c8Q58Af3obq6I0nG8k3xqAs2tvkM86K s07OQe+wg/Cpx7YYEUKjNUiVVQgEbHNN6pB8+zuhS5B/w+zDf/A9RGujaAJCU+d+ e+OU= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:MIME-Version:Received:Received:Date:Message-ID:Subject:From:To:Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=yBuyQWGhM+GSXLMRtdtmLc7QkvLQaLinMTsNWx2XT2eQFsEW0eQ1pPepWesvju Bv2pRoR8vMGNrBdxthwhAhPVxwkCoq7U5qEDT34e7MFVppydTmmMpvdjSavbEwrh b3UbFRihb5jAFvs6O2KMypwat2iMNspmH9Na/hpJ0GNsw=; Received: (qmail 6576 invoked by alias); 9 May 2012 15:34:03 -0000 Received: (qmail 6519 invoked by uid 22791); 9 May 2012 15:34:02 -0000 X-SWARE-Spam-Status: No, hits=-4.1 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, KHOP_RCVD_TRUST, RCVD_IN_DNSWL_LOW, RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-ob0-f175.google.com (HELO mail-ob0-f175.google.com) (209.85.214.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 09 May 2012 15:33:50 +0000 Received: by obhx4 with SMTP id x4so527872obh.20 for ; Wed, 09 May 2012 08:33:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.183.73 with SMTP id ek9mr764999obc.15.1336577629575; Wed, 09 May 2012 08:33:49 -0700 (PDT) Received: by 10.182.162.104 with HTTP; Wed, 9 May 2012 08:33:49 -0700 (PDT) Date: Wed, 9 May 2012 11:33:49 -0400 Message-ID: Subject: [PATCH] gcc_update explicit use of "svn" From: David Edelsohn To: GCC Patches Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org contrib/gcc_update currently uses "svn" explicitly to determine the Revision and Branch instead of the $GCC_SVN shell variable used in other instances in the script. This patch uses the shell variable in all instances. Thanks, David * gcc_update: Use $GCC_SVN to retrieve branch and revision. Index: gcc_update =================================================================== --- gcc_update (revision 187329) +++ gcc_update (working copy) @@ -372,8 +372,8 @@ exit 1 fi - revision=`svn info | awk '/Revision:/ { print $2 }'` - branch=`svn info | sed -ne "/URL:/ { + revision=`$GCC_SVN info | awk '/Revision:/ { print $2 }'` + branch=`$GCC_SVN info | sed -ne "/URL:/ { s,.*/trunk,trunk, s,.*/branches/,, s,.*/tags/,,