summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2010-01-25 13:29:05 +0000
committerThierry Vignaud <tv@mandriva.org>2010-01-25 13:29:05 +0000
commitc50045a30909b45a45cf5efa5db02fb347bc84f4 (patch)
tree5b898781abcc432dc0e85e0f9cd2075056d54764 /lib
parentc1e8d25ef8219ce6e8f6a0977207306dcdbb1631 (diff)
downloadcontrol-center-c50045a30909b45a45cf5efa5db02fb347bc84f4.tar
control-center-c50045a30909b45a45cf5efa5db02fb347bc84f4.tar.gz
control-center-c50045a30909b45a45cf5efa5db02fb347bc84f4.tar.bz2
control-center-c50045a30909b45a45cf5efa5db02fb347bc84f4.tar.xz
control-center-c50045a30909b45a45cf5efa5db02fb347bc84f4.zip
fix retrieving version
Diffstat (limited to 'lib')
-rwxr-xr-xlib/MDV/Control_Center.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MDV/Control_Center.pm b/lib/MDV/Control_Center.pm
index 584c5f89..2038688f 100755
--- a/lib/MDV/Control_Center.pm
+++ b/lib/MDV/Control_Center.pm
@@ -34,7 +34,7 @@ our @EXPORT = qw(
$version
);
-our $version = `cat /etc/mandrakelinux-release` =~ /\b(\d+\.{1}.+\))/;
+our ($version) = `cat /etc/mandrakelinux-release` =~ /\b(\d+\.{1}.+\))/;
#-------------------------------------------------------------