[builder] fix, force shift to be evaluated in expression context inside dereference

This commit is contained in:
mudler
2016-03-06 16:59:33 +01:00
parent caf7e76b9b
commit 90121cd3b8
+2 -2
View File
@@ -62,8 +62,8 @@ sub calculate_missing {
my $package = shift;
my $depth = shift;
my @Installed_Packages = @{shift};
my @Available_Packages = @{shift};
my @Installed_Packages = @{+shift};
my @Available_Packages = @{+shift};
# Getting the package dependencies and the installed packages
say "[$package] Getting the package dependencies and the installed packages";