[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: build failure emacs-26 branch on Mingw64
From: |
Andreas Schwab |
Subject: |
Re: build failure emacs-26 branch on Mingw64 |
Date: |
Mon, 01 Jan 2018 13:51:08 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) |
On Jan 01 2018, Stephen Leake <address@hidden> wrote:
> The sed command that gives the error is:
>
> -e 's;\(#.*PATH_SITELOADSEARCH\).*$$;\1 "'"$${w32locallisppath//;/\\;}"'";'
>
> There is an unquoted ; in the replacement, but quoting that does not fix
> the error.
The regexp separator for the s command should be changed to something
else than `;' to avoid a quoting nightmare.
> I'm guessing the reference to 'w32locallisppath' is supposed to replace
> the Unix path separator : with the Windows path separator ; .
No, it replaces `;' with `\;' so that it can be interpolated into the
replacement part of the s command.
Andreas.
--
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."