apkbuild-cpan.in: fix uninitialized value when running with no parameters

by applying Celeste's suggested fix
This commit is contained in:
Timothy Legge 2024-02-01 19:46:44 -04:00
parent 1dd67c1beb
commit 99cda3db69
1 changed files with 1 additions and 1 deletions

View File

@ -785,7 +785,7 @@ my $user_abuild_conf =
read_assignments_from_file( $ENV{"HOME"} . "/.abuild/abuild.conf" );
$packager = $user_abuild_conf->{PACKAGER} if $user_abuild_conf->{PACKAGER};
my $command = $ARGV[0];
my $command = $ARGV[0] // '';
if ( $command eq "create" ) {
my $module = $ARGV[1];