diff --git a/mozilla/xpinstall/packager/xptlink.pl b/mozilla/xpinstall/packager/xptlink.pl index e3d13546c16..a4280983e12 100755 --- a/mozilla/xpinstall/packager/xptlink.pl +++ b/mozilla/xpinstall/packager/xptlink.pl @@ -74,6 +74,9 @@ else { $bindir = "bin/"; } +# remove extra slashes from $destdir +$destdir =~ s:/+:/:g; + # set debug level if ($verbose && !($debug)) { $debug = 1;