diff options
| author | Dani Moncayo | 2015-11-02 11:48:47 +0100 |
|---|---|---|
| committer | Dani Moncayo | 2015-11-02 11:54:55 +0100 |
| commit | 5401bb8645f955b6fde8c0a5e5c8cf5ec1cab626 (patch) | |
| tree | 8c7d6b3085064ccb9729c2706ea2909bc1b6052e | |
| parent | ff80687aee5da42ff151df4e68f8dbcd2f8b2be3 (diff) | |
| download | emacs-5401bb8645f955b6fde8c0a5e5c8cf5ec1cab626.tar.gz emacs-5401bb8645f955b6fde8c0a5e5c8cf5ec1cab626.zip | |
* build-aux/msys-to-w32: Prevent double slashes in w32 path list.
| -rwxr-xr-x | build-aux/msys-to-w32 | 2 |
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 | |||
| 96 | # translate the existing part and append the rest | 96 | # translate the existing part and append the rest |
| 97 | w32p=$(cd "${p1}" && pwd -W) | 97 | w32p=$(cd "${p1}" && pwd -W) |
| 98 | remainder=${p#$p1} | 98 | remainder=${p#$p1} |
| 99 | w32p+=/${remainder#/} | 99 | w32p=${w32p%/}/${remainder#/} |
| 100 | fi | 100 | fi |
| 101 | 101 | ||
| 102 | w32pathlist="${w32pathlist};${w32p}" | 102 | w32pathlist="${w32pathlist};${w32p}" |