aboutsummaryrefslogtreecommitdiff
path: root/SBO-Lib/lib
diff options
context:
space:
mode:
authorJacob Pipkin <j@dawnrazor.net>2012-11-05 04:21:14 -0600
committerJacob Pipkin <j@dawnrazor.net>2012-11-05 04:21:14 -0600
commit336d4150f10389ddd0fa30c0327ddf3efc72d79f (patch)
tree31e609a1db0b13e6c323eb46835cace0834b8cc6 /SBO-Lib/lib
parent75e942f3d49edd7fd0c58c0c5f2a3c382632feac (diff)
downloadsbotools2-336d4150f10389ddd0fa30c0327ddf3efc72d79f.tar.xz
get rid of prototype for create_symlinks, all tests pass
Diffstat (limited to 'SBO-Lib/lib')
-rw-r--r--SBO-Lib/lib/SBO/Lib.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/SBO-Lib/lib/SBO/Lib.pm b/SBO-Lib/lib/SBO/Lib.pm
index fb3fdf9..dbc7ca2 100644
--- a/SBO-Lib/lib/SBO/Lib.pm
+++ b/SBO-Lib/lib/SBO/Lib.pm
@@ -496,7 +496,7 @@ sub check_distfiles {
# given a location and a list of download links, assemble a list of symlinks,
# and create them.
-sub create_symlinks ($%) {
+sub create_symlinks {
exists $_[1] or script_error 'create_symlinks requires two arguments.';
my ($location, %downloads) = @_;
my @symlinks;
@@ -649,7 +649,7 @@ sub do_slackbuild {
32 => $args{COMPAT32}
);
check_distfiles %downloads;
- my @symlinks = create_symlinks $args{LOCATION}, %downloads;
+ my @symlinks = create_symlinks ($args{LOCATION}, %downloads);
# setup and run the .SlackBuild itself
my ($pkg, $src) = perform_sbo (
OPTS => $args{OPTS},