diff options
Diffstat (limited to 'usr/src/pinyadmin/sbin')
-rwxr-xr-x | usr/src/pinyadmin/sbin/addaccess | 2 | ||||
-rwxr-xr-x | usr/src/pinyadmin/sbin/rmaccess | 2 | ||||
-rwxr-xr-x | usr/src/pinyadmin/sbin/rmrepo | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/pinyadmin/sbin/addaccess b/usr/src/pinyadmin/sbin/addaccess index 8d0cef9..e351114 100755 --- a/usr/src/pinyadmin/sbin/addaccess +++ b/usr/src/pinyadmin/sbin/addaccess @@ -5,7 +5,7 @@ use warnings; use Piny; -my $env = Piny::Environment->new( ); +my $env = Piny::Environment->instance( ); my ( $reponame, @users ) = @ARGV; diff --git a/usr/src/pinyadmin/sbin/rmaccess b/usr/src/pinyadmin/sbin/rmaccess index f84fba0..d6c22a9 100755 --- a/usr/src/pinyadmin/sbin/rmaccess +++ b/usr/src/pinyadmin/sbin/rmaccess @@ -5,7 +5,7 @@ use warnings; use Piny; -my $env = Piny::Environment->new( ); +my $env = Piny::Environment->instance( ); my ( $reponame, @users ) = @ARGV; diff --git a/usr/src/pinyadmin/sbin/rmrepo b/usr/src/pinyadmin/sbin/rmrepo index 8b26feb..e12a067 100755 --- a/usr/src/pinyadmin/sbin/rmrepo +++ b/usr/src/pinyadmin/sbin/rmrepo @@ -5,7 +5,7 @@ use warnings; use Piny; -my $env = Piny::Environment->new; +my $env = Piny::Environment->instance( ); foreach my $reponame ( @ARGV ) { |