aboutsummaryrefslogtreecommitdiffstats
path: root/find-lang.pl
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2007-07-05 22:27:39 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2007-07-05 22:27:39 +0000
commit843c434e2395cf31ad40836f42fe788bf92bf0e0 (patch)
treecd64e9a116310a04cf10144b9e234cace436f857 /find-lang.pl
parenta10c7439abb9af2cee4c75b8eeacc3e45b72e9ac (diff)
downloadrpm-setup-843c434e2395cf31ad40836f42fe788bf92bf0e0.tar
rpm-setup-843c434e2395cf31ad40836f42fe788bf92bf0e0.tar.gz
rpm-setup-843c434e2395cf31ad40836f42fe788bf92bf0e0.tar.bz2
rpm-setup-843c434e2395cf31ad40836f42fe788bf92bf0e0.tar.xz
rpm-setup-843c434e2395cf31ad40836f42fe788bf92bf0e0.zip
- 1.461.46
Diffstat (limited to 'find-lang.pl')
-rw-r--r--find-lang.pl1
1 files changed, 1 insertions, 0 deletions
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";