| Server IP : 173.236.223.38 / Your IP : 216.73.216.33 Web Server : Apache System : Linux vps62975 6.8.0-83-generic #83~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Sep 9 18:19:47 UTC 2 x86_64 User : invmicvps ( 6727287) 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 "$@"