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
|
# definitions specific to this program
|
||||||
# ----------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------
|
||||||
|
|
||||||
our $R_COMMANDS=qr/git[ -]upload-pack/;
|
my $R_COMMANDS=qr/git[ -]upload-pack/;
|
||||||
our $W_COMMANDS=qr/git[ -]receive-pack/;
|
my $W_COMMANDS=qr/git[ -]receive-pack/;
|
||||||
our $REPONAME_PATT=qr(^[0-9a-zA-Z][0-9a-zA-Z._/-]*$); # very simple pattern
|
my $REPONAME_PATT=qr(^[0-9a-zA-Z][0-9a-zA-Z._/-]*$); # very simple pattern
|
||||||
|
|
||||||
# ----------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------
|
||||||
# start...
|
# start...
|
||||||
|
|
|
@ -59,12 +59,12 @@ unless (my $ret = do $glrc)
|
||||||
# ----------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------
|
||||||
|
|
||||||
# command and options for authorized_keys
|
# command and options for authorized_keys
|
||||||
our $AUTH_COMMAND="$GL_ADMINDIR/gl-auth-command";
|
my $AUTH_COMMAND="$GL_ADMINDIR/gl-auth-command";
|
||||||
our $AUTH_OPTIONS="no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty";
|
my $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 $USERNAME_PATT=qr(^\@?[0-9a-zA-Z][0-9a-zA-Z._-]*$); # very simple pattern
|
||||||
|
|
||||||
our %groups = ();
|
my %groups = ();
|
||||||
our %repos = ();
|
my %repos = ();
|
||||||
|
|
||||||
# set a restrictive umask, just in case
|
# set a restrictive umask, just in case
|
||||||
umask(0077);
|
umask(0077);
|
||||||
|
|
Loading…
Reference in a new issue