aboutsummaryrefslogtreecommitdiffstats
path: root/find-lang.pl
diff options
context:
space:
mode:
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";