diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-12-03 12:39:35 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-12-03 12:39:35 +0000 |
commit | 49c020779005ca18fffc440a76dfdea0217b4541 (patch) | |
tree | 5c9c1d1c947e4ef5f23e60a5c5b552a8b79374e3 /perl-install/common.pm | |
parent | 0d7b3d569befdbafbbe8b8c989f9f9ab0164b086 (diff) | |
download | drakx-49c020779005ca18fffc440a76dfdea0217b4541.tar drakx-49c020779005ca18fffc440a76dfdea0217b4541.tar.gz drakx-49c020779005ca18fffc440a76dfdea0217b4541.tar.bz2 drakx-49c020779005ca18fffc440a76dfdea0217b4541.tar.xz drakx-49c020779005ca18fffc440a76dfdea0217b4541.zip |
(formatXiB): simplify
Diffstat (limited to 'perl-install/common.pm')
-rw-r--r-- | perl-install/common.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/common.pm b/perl-install/common.pm index 0353da552..dbb954ea3 100644 --- a/perl-install/common.pm +++ b/perl-install/common.pm @@ -90,7 +90,8 @@ sub removeXiBSuffix { $_; } sub formatXiB { - my ($newnb, $newbase) = (@_, 1); + my ($newnb, $newbase) = @_; + $newbase ||= 1; my ($nb, $base); my $decr = sub { ($nb, $base) = ($newnb, $newbase); |