From owner-svn-ports-all@FreeBSD.ORG Fri Aug 24 19:54:38 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D24DC106564A; Fri, 24 Aug 2012 19:54:38 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id BD4238FC21; Fri, 24 Aug 2012 19:54:38 +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 q7OJsccJ095483; Fri, 24 Aug 2012 19:54:38 GMT (envelope-from mandree@svn.freebsd.org) Received: (from mandree@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q7OJscQx095481; Fri, 24 Aug 2012 19:54:38 GMT (envelope-from mandree@svn.freebsd.org) Message-Id: <201208241954.q7OJscQx095481@svn.freebsd.org> From: Matthias Andree Date: Fri, 24 Aug 2012 19:54:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r303098 - head/Tools/scripts X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Aug 2012 19:54:38 -0000 Author: mandree Date: Fri Aug 24 19:54:38 2012 New Revision: 303098 URL: http://svn.freebsd.org/changeset/ports/303098 Log: Use "exec" when executing SVN with user-provided arguments, to avoid running SVN multiple times with command lines like the following: svn co --depth empty svn+ssh://svn.freebsd.org/ports/head ports Reported by: ak@ (on IRC) Modified: head/Tools/scripts/psvn Modified: head/Tools/scripts/psvn ============================================================================== --- head/Tools/scripts/psvn Fri Aug 24 19:17:15 2012 (r303097) +++ head/Tools/scripts/psvn Fri Aug 24 19:54:38 2012 (r303098) @@ -181,10 +181,10 @@ for opt ; do setprop "${files}" eval "set -- $savedargs" - "${SVN}" "$@" + exec "${SVN}" "$@" ;; *) - "${SVN}" "$@" + exec "${SVN}" "$@" ;; esac done