summaryrefslogtreecommitdiff
path: root/usr/src/pinyadmin/sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/pinyadmin/sbin')
-rwxr-xr-xusr/src/pinyadmin/sbin/addaccess2
-rwxr-xr-xusr/src/pinyadmin/sbin/rmaccess2
-rwxr-xr-xusr/src/pinyadmin/sbin/rmrepo2
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 ) {