Server IP : 85.214.239.14 / Your IP : 3.133.153.224 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF 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 "$@"