summaryrefslogtreecommitdiffstats
path: root/urpm/util.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-12-02 15:31:36 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-12-02 15:31:36 +0000
commit50f11021b4cce43e0e6f2921885d453c7fc03f3b (patch)
treed75b1280e091911202efbacb4c6ce83ea8d6a021 /urpm/util.pm
parent79da5f7c7fabfefd8295395f9e2c8fd57e58e43e (diff)
downloadurpmi-50f11021b4cce43e0e6f2921885d453c7fc03f3b.tar
urpmi-50f11021b4cce43e0e6f2921885d453c7fc03f3b.tar.gz
urpmi-50f11021b4cce43e0e6f2921885d453c7fc03f3b.tar.bz2
urpmi-50f11021b4cce43e0e6f2921885d453c7fc03f3b.tar.xz
urpmi-50f11021b4cce43e0e6f2921885d453c7fc03f3b.zip
Add versions to modules
Diffstat (limited to 'urpm/util.pm')
-rw-r--r--urpm/util.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/urpm/util.pm b/urpm/util.pm
index 79b7adab..51091a6b 100644
--- a/urpm/util.pm
+++ b/urpm/util.pm
@@ -10,6 +10,8 @@ our @EXPORT = qw(quotespace unquotespace
difference2
);
+(our $VERSION) = q$Id$ =~ /(\d+\.\d+)/;
+
#- quoting/unquoting a string that may be containing space chars.
sub quotespace { my $x = $_[0] || ''; $x =~ s/(\s)/\\$1/g; $x }
sub unquotespace { my $x = $_[0] || ''; $x =~ s/\\(\s)/$1/g; $x }