aboutsummaryrefslogtreecommitdiff
path: root/SBO-Lib/lib/SBO/Lib.pm
diff options
context:
space:
mode:
Diffstat (limited to 'SBO-Lib/lib/SBO/Lib.pm')
-rw-r--r--SBO-Lib/lib/SBO/Lib.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/SBO-Lib/lib/SBO/Lib.pm b/SBO-Lib/lib/SBO/Lib.pm
index d7801cb..412d128 100644
--- a/SBO-Lib/lib/SBO/Lib.pm
+++ b/SBO-Lib/lib/SBO/Lib.pm
@@ -610,7 +610,7 @@ sub get_from_info {
sub get_sbo_version {
script_error('get_sbo_version requires an argument.') unless @_ == 1;
my $version = get_from_info(LOCATION => shift, GET => 'VERSION');
- return $$version[0] ? $$version[0] : undef;
+ return $version->[0];
}
# for each installed sbo, find out whether or not the version in the tree is