From owner-svn-src-vendor@FreeBSD.ORG Fri Jul 6 00:04:22 2012 Return-Path: Delivered-To: svn-src-vendor@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ACFD2106570A; Fri, 6 Jul 2012 00:04:22 +0000 (UTC) (envelope-from obrien@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 9744A8FC0C; Fri, 6 Jul 2012 00:04:22 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q6604MgE027375; Fri, 6 Jul 2012 00:04:22 GMT (envelope-from obrien@svn.freebsd.org) Received: (from obrien@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q6604Mwu027373; Fri, 6 Jul 2012 00:04:22 GMT (envelope-from obrien@svn.freebsd.org) Message-Id: <201207060004.q6604Mwu027373@svn.freebsd.org> From: "David E. O'Brien" Date: Fri, 6 Jul 2012 00:04:22 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org X-SVN-Group: vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r238154 - vendor/NetBSD/bmake X-BeenThere: svn-src-vendor@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the vendor work area tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jul 2012 00:04:22 -0000 Author: obrien Date: Fri Jul 6 00:04:22 2012 New Revision: 238154 URL: http://svn.freebsd.org/changeset/base/238154 Log: Script used to commit r238152 / r238153. Modified: vendor/NetBSD/bmake/do-update.sh Modified: vendor/NetBSD/bmake/do-update.sh ============================================================================== --- vendor/NetBSD/bmake/do-update.sh Fri Jul 6 00:03:48 2012 (r238153) +++ vendor/NetBSD/bmake/do-update.sh Fri Jul 6 00:04:22 2012 (r238154) @@ -1,16 +1,20 @@ : # $FreeBSD$ +# "global" vars +ECHO= +# Set SVN variables +# select the local subversion site SVN=${SVN:-/usr/local/bin/svn} SITE=${SITE:-ftp://ftp.netbsd.org/pub/NetBSD/misc/sjg} + # For consistency... Error() { echo ERROR: ${1+"$@"} >&2 exit 1 } - Cd() { [ $# -eq 1 ] || Error "Cd() takes a single parameter." cd $1 || Error "cannot \"cd $1\" from $PWD" @@ -87,4 +91,16 @@ rm -rf bmake/missing svn-vendorimport.sh bmake dist ${SVN} stat dist -rm -f bmake-${VERSION}.tar.gz.sha1 $SITE/bmake-${VERSION}.tar.gz +rm -f bmake-${VERSION}.tar.gz bmake-${VERSION}.tar.gz.sha1 + +echo "Import the ${VERSION} release of the \"Portable\" BSD make tool (from NetBSD). + +Submitted by: Simon Gerraty " > /tmp/commit-log + +${ECHO} ${SVN} ci -F /tmp/commit-log dist + +SVNURL=$(${SVN} info | grep URL: | awk '{print $2}') + +${ECHO} ${SVN} copy \ + -m "\"Tag\" the ${VERSION} Portable BSD make import." \ + ${SVNURL}/dist ${SVNURL}/${VERSION}