summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorDani Moncayo <dmoncayo@gmail.com>2015-11-02 11:48:47 +0100
committerDani Moncayo <dmoncayo@gmail.com>2015-11-02 11:54:55 +0100
commit5401bb8645f955b6fde8c0a5e5c8cf5ec1cab626 (patch)
tree8c7d6b3085064ccb9729c2706ea2909bc1b6052e /build-aux
parentff80687aee5da42ff151df4e68f8dbcd2f8b2be3 (diff)
* build-aux/msys-to-w32: Prevent double slashes in w32 path list.
Diffstat (limited to 'build-aux')
-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 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}"