summaryrefslogtreecommitdiffstats
path: root/script
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2018-12-17 00:38:24 +0100
committerFlorian Pritz <bluewind@xinu.at>2018-12-17 00:38:24 +0100
commit90535df46d0d8b4052497a9dc0beacd8c186066f (patch)
tree147063c319cc1469d15af6f5e8c1355997ca0d7f /script
parentd7cd126cc8326f42713c20d2d95091156b44e58f (diff)
downloadApp-ArchLinux-PackagerTools-90535df46d0d8b4052497a9dc0beacd8c186066f.tar.gz
App-ArchLinux-PackagerTools-90535df46d0d8b4052497a9dc0beacd8c186066f.tar.xz
Use context variable to track singletons
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'script')
-rwxr-xr-xscript/perlpkg.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/script/perlpkg.pl b/script/perlpkg.pl
index e6cac27..f66b9d6 100755
--- a/script/perlpkg.pl
+++ b/script/perlpkg.pl
@@ -48,7 +48,8 @@ if ($ARGV[0] // "" eq "--debug") {
}
Log::Any::Adapter->set('Log4perl');
-my $app = App::ArchLinux::PackagerTools->new();
+my $context = {};
+my $app = App::ArchLinux::PackagerTools->new({context => $context});
use Data::Dumper;
my $dists = $app->get_distributions_in_repo();