| Server IP : 104.21.73.115 / Your IP : 216.73.217.138 Web Server : Apache System : Linux vps42439 6.8.0-136-generic #136~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 3 16:29:11 UTC x86_64 User : dh_7hi3h9 ( 6349477) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /bin/ |
Upload File : |
#!/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 "$@"