summaryrefslogtreecommitdiffstats
path: root/urpm/util.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.com>2006-06-07 09:52:54 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.com>2006-06-07 09:52:54 +0000
commit5fb342d91de5cd6dfd3a94511fcfa1102739b545 (patch)
treeb1b7b539e23d3f6c978ae1669c267c74d4596599 /urpm/util.pm
parent610920956436a12457ffff01c64104acd838e08d (diff)
downloadurpmi-5fb342d91de5cd6dfd3a94511fcfa1102739b545.tar
urpmi-5fb342d91de5cd6dfd3a94511fcfa1102739b545.tar.gz
urpmi-5fb342d91de5cd6dfd3a94511fcfa1102739b545.tar.bz2
urpmi-5fb342d91de5cd6dfd3a94511fcfa1102739b545.tar.xz
urpmi-5fb342d91de5cd6dfd3a94511fcfa1102739b545.zip
Use revision number as version numbers for internal modules.
For gurpmi.pm, use the same version number as urpm.
Diffstat (limited to 'urpm/util.pm')
-rw-r--r--urpm/util.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/urpm/util.pm b/urpm/util.pm
index dfd133f8..d112005a 100644
--- a/urpm/util.pm
+++ b/urpm/util.pm
@@ -1,5 +1,7 @@
package urpm::util;
+# $Id$
+
use strict;
use Exporter;
our @ISA = 'Exporter';
@@ -10,7 +12,7 @@ our @EXPORT = qw(quotespace unquotespace
difference2
);
-(our $VERSION) = q$Id$ =~ /(\d+\.\d+)/;
+(our $VERSION) = q$Revision$ =~ /(\d+)/;
#- quoting/unquoting a string that may be containing space chars.
sub quotespace { my $x = $_[0] || ''; $x =~ s/(\s)/\\$1/g; $x }