diff options
Diffstat (limited to 'urpm/util.pm')
-rw-r--r-- | urpm/util.pm | 4 |
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 } |