diff options
author | mandree <mandree@FreeBSD.org> | 2012-08-25 03:54:38 +0800 |
---|---|---|
committer | mandree <mandree@FreeBSD.org> | 2012-08-25 03:54:38 +0800 |
commit | 411d1cddd0d4b6a3ed1203fa69480823ae1f21ef (patch) | |
tree | 40234f0ea7e2c307462278a8053fde5a30f47139 /Tools | |
parent | 0e2b97a5a7a8f06253227f603bbc3ce01b653845 (diff) | |
download | freebsd-ports-gnome-411d1cddd0d4b6a3ed1203fa69480823ae1f21ef.tar.gz freebsd-ports-gnome-411d1cddd0d4b6a3ed1203fa69480823ae1f21ef.tar.zst freebsd-ports-gnome-411d1cddd0d4b6a3ed1203fa69480823ae1f21ef.zip |
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)
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/scripts/psvn | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/scripts/psvn b/Tools/scripts/psvn index 402aded6d60c..4ddc5e981a2a 100755 --- a/Tools/scripts/psvn +++ b/Tools/scripts/psvn @@ -181,10 +181,10 @@ for opt ; do setprop "${files}" eval "set -- $savedargs" - "${SVN}" "$@" + exec "${SVN}" "$@" ;; *) - "${SVN}" "$@" + exec "${SVN}" "$@" ;; esac done |