X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/95a2cb24b0697558e6629460d8bc693b394f0138..5401bb8645f955b6fde8c0a5e5c8cf5ec1cab626:/build-aux/msys-to-w32 diff --git a/build-aux/msys-to-w32 b/build-aux/msys-to-w32 index f8a0a81b9f..d30047ffa9 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}"