aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Pipkin <j@dawnrazor.net>2012-11-30 04:54:27 -0600
committerJacob Pipkin <j@dawnrazor.net>2012-11-30 04:54:27 -0600
commit0109f92b9915f6d49457644a4bf35dd311edf513 (patch)
treebd507b8bdcc197cab69ae4c761d8660de5de6732
parentc36f273b6a61f5383acf78ea8c4be1b171fad3bb (diff)
downloadsbotools2-0109f92b9915f6d49457644a4bf35dd311edf513.tar.xz
get_build_queue requires an array ref as first arg
-rwxr-xr-xsbofind3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbofind b/sbofind
index b0cc7e5..ef01852 100755
--- a/sbofind
+++ b/sbofind
@@ -98,8 +98,9 @@ sub get_file_contents ($) {
# get build queue and return it as a single line.
sub show_build_queue ($) {
exists $_[0] or script_error 'show_build_queue requires an argument.';
+ my $array_ref = [shift];
my %warnings;
- my $queue = get_build_queue($_[0], \%warnings);
+ my $queue = get_build_queue($array_ref, \%warnings);
return join(" ", @$queue);
}