diff options
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | find-lang.pl | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 73b5d7a..d27e3fb 100644 --- a/configure.ac +++ b/configure.ac @@ -4,7 +4,7 @@ # $Id$ AC_PREREQ(2.59) -AC_INIT(rpm-mandriva-setup, 1.45, nanardon@mandriva.org) +AC_INIT(rpm-mandriva-setup, 1.46, nanardon@mandriva.org) AC_CANONICAL_TARGET AM_INIT_AUTOMAKE(1.9) AC_CONFIG_SRCDIR diff --git a/find-lang.pl b/find-lang.pl index 4a53cdf..91cfe19 100644 --- a/find-lang.pl +++ b/find-lang.pl @@ -18,6 +18,7 @@ GetOptions( ) or pod2usage(); my ($buildroot, @searchname) = @ARGV; +$buildroot =~ s:/+$::; # removing trailing / my ($pkgname) = @searchname or die "Main name to find missing\n"; $buildroot or die "No buildroot given\n"; |