all: some "our"s changed to "my"

This commit is contained in:
Sitaram Chamarty 2009-08-25 09:08:11 +05:30
parent 1f1b95f4c6
commit ebf6300d01
2 changed files with 8 additions and 8 deletions

View file

@ -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...

View file

@ -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);