/usr/bin/svnwrap is in subversion-tools 1.8.8-1ubuntu3.3.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | #!/bin/sh
#
# svnwrap.sh: wrapper subversion client programs, which sets umask=002.
#
# Copyright 2006 by Peter Samuelson
# Permission is granted to everyone to use and distribute this work,
# without limitation, modified or unmodified, in any way, for any purpose.
#
# This script is not always needed: for somewhat complicated reasons,
# subversion already Does The Right Thing for FSFS repositories but
# cannot feasibly do so for BDB.
#
# See the manpage for more details.
umask 002
known_progs='svn svnlook svnserve svnadmin svnversion'
known_progs_path=/usr/bin
usage () {
echo >&2 "Usage: svnwrap {program} [args...]"
echo >&2 "Valid programs: $known_progs"
exit 1
}
exe=
arg0=$(basename "$0")
case " $known_progs " in
*" $arg0 "*) exe=$arg0 ;;
*" $1 "*) exe=$1; shift ;;
*) usage ;;
esac
case "$exe" in *" "*) usage ;; esac
exec $known_progs_path/$exe "$@"
|