hyun.psd; gzuncompress
|
Server IP : 173.236.192.202 / Your IP : 216.73.216.85 Web Server : Apache System : Linux iad1-shared-e1-03 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : andfor18 ( 14551322) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /run/../bin/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] | [ Lock Shell ] | [ Logout ] |
|---|
#!/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 "$@"