From 384f7d1a3cc463cdbcdb30f4dcb7efb5ebb7e2f4 Mon Sep 17 00:00:00 2001 From: "cmp%mozilla.org" Date: Tue, 28 Jun 2005 02:31:04 +0000 Subject: [PATCH] Remove extra slashes from xpt_link command line arguments to fix its use on Windows/Cygwin. git-svn-id: svn://10.0.0.236/trunk@175192 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpinstall/packager/xptlink.pl | 3 +++ 1 file changed, 3 insertions(+) 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;