Date: Fri, 24 Aug 2012 19:54:38 +0000 (UTC) From: Matthias Andree <mandree@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r303098 - head/Tools/scripts Message-ID: <201208241954.q7OJscQx095481@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208241954.q7OJscQx095481>