summaryrefslogtreecommitdiffstats
path: root/urpm/util.pm
diff options
context:
space:
mode:
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 }