svn commit: r303098 - head/Tools/scripts
Matthias Andree
mandree at FreeBSD.org
Fri Aug 24 19:54:38 UTC 2012
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
More information about the svn-ports-head
mailing list