summaryrefslogtreecommitdiff
path: root/build-aux/msys-to-w32
diff options
context:
space:
mode:
Diffstat (limited to 'build-aux/msys-to-w32')
-rwxr-xr-xbuild-aux/msys-to-w322
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/msys-to-w32 b/build-aux/msys-to-w32
index f8a0a81b9fa..d30047ffa99 100755
--- a/build-aux/msys-to-w32
+++ b/build-aux/msys-to-w32
@@ -96,7 +96,7 @@ do
# translate the existing part and append the rest
w32p=$(cd "${p1}" && pwd -W)
remainder=${p#$p1}
- w32p+=/${remainder#/}
+ w32p=${w32p%/}/${remainder#/}
fi
w32pathlist="${w32pathlist};${w32p}"