From: Glenn Morris <rgm@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 18612@debbugs.gnu.org, Assaf Gordon <assafgordon@gmail.com>
Subject: bug#18612: [platform-testers] Emacs pretest 24.3.94
Date: Thu, 02 Oct 2014 16:09:24 -0400 [thread overview]
Message-ID: <yhr3yqs07f.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <83oatui79m.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 02 Oct 2014 22:47:01 +0300")
Eli Zaretskii wrote:
>> srcdir="/${srcdir:0:1}${srcdir:2}"
>>
>> I believe these are bash-specific variable expansions, not posix-compatible.
>>
>> This appears in an MINGW-related "if" block, so I guess most of the
>> time it is not encountered.
>
> MinGW uses only Bash.
But other platforms may still try to parse (?) those lines, even if they
don't execute them. Presumably that explains:
>> But in one instance, I got:
>> $ ./configure
>> ./configure: 3564: Syntax error: Bad substitution
So can you replace it with something portable, eg sed?
next prev parent reply other threads:[~2014-10-02 20:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <d57g0ji88z.fsf@fencepost.gnu.org>
2014-10-02 19:22 ` bug#18612: [platform-testers] Emacs pretest 24.3.94 Assaf Gordon
2014-10-02 19:47 ` Eli Zaretskii
2014-10-02 20:09 ` Glenn Morris [this message]
2014-10-02 21:07 ` Dani Moncayo
2014-10-02 22:06 ` Assaf Gordon
2014-10-02 22:11 ` Assaf Gordon
2014-10-02 22:48 ` Dani Moncayo
2014-10-02 22:33 ` bug#18612: non-portable shell substitution in configure.ac Paul Eggert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=yhr3yqs07f.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=18612@debbugs.gnu.org \
--cc=assafgordon@gmail.com \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).