all: some "our"s changed to "my"
This commit is contained in:
parent
1f1b95f4c6
commit
ebf6300d01
|
@ -43,9 +43,9 @@ die "couldnt do perms file" unless (my $ret = do $GL_CONF_COMPILED);
|
|||
# definitions specific to this program
|
||||
# ----------------------------------------------------------------------------
|
||||
|
||||
our $R_COMMANDS=qr/git[ -]upload-pack/;
|
||||
our $W_COMMANDS=qr/git[ -]receive-pack/;
|
||||
our $REPONAME_PATT=qr(^[0-9a-zA-Z][0-9a-zA-Z._/-]*$); # very simple pattern
|
||||
my $R_COMMANDS=qr/git[ -]upload-pack/;
|
||||
my $W_COMMANDS=qr/git[ -]receive-pack/;
|
||||
my $REPONAME_PATT=qr(^[0-9a-zA-Z][0-9a-zA-Z._/-]*$); # very simple pattern
|
||||
|
||||
# ----------------------------------------------------------------------------
|
||||
# start...
|
||||
|
|
|
@ -59,12 +59,12 @@ unless (my $ret = do $glrc)
|
|||
# ----------------------------------------------------------------------------
|
||||
|
||||
# command and options for authorized_keys
|
||||
our $AUTH_COMMAND="$GL_ADMINDIR/gl-auth-command";
|
||||
our $AUTH_OPTIONS="no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty";
|
||||
our $USERNAME_PATT=qr(^\@?[0-9a-zA-Z][0-9a-zA-Z._-]*$); # very simple pattern
|
||||
my $AUTH_COMMAND="$GL_ADMINDIR/gl-auth-command";
|
||||
my $AUTH_OPTIONS="no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty";
|
||||
my $USERNAME_PATT=qr(^\@?[0-9a-zA-Z][0-9a-zA-Z._-]*$); # very simple pattern
|
||||
|
||||
our %groups = ();
|
||||
our %repos = ();
|
||||
my %groups = ();
|
||||
my %repos = ();
|
||||
|
||||
# set a restrictive umask, just in case
|
||||
umask(0077);
|
||||
|
|
Loading…
Reference in a new issue