diff options
Diffstat (limited to 'SBO-Lib/lib')
| -rw-r--r-- | SBO-Lib/lib/SBO/Lib.pm | 2 | 
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 | 
