aboutsummaryrefslogtreecommitdiffstats
path: root/Tools/scripts
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2012-08-25 03:54:38 +0800
committerMatthias Andree <mandree@FreeBSD.org>2012-08-25 03:54:38 +0800
commit34a636ac73758edf9c3045f3ae46a078ad923921 (patch)
tree40234f0ea7e2c307462278a8053fde5a30f47139 /Tools/scripts
parent1fbac4ef386973b54d1558d0a75d3268266dcadf (diff)
downloadfreebsd-ports-gnome-34a636ac73758edf9c3045f3ae46a078ad923921.tar.gz
freebsd-ports-gnome-34a636ac73758edf9c3045f3ae46a078ad923921.tar.zst
freebsd-ports-gnome-34a636ac73758edf9c3045f3ae46a078ad923921.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/scripts')
-rwxr-xr-xTools/scripts/psvn4
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