From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#18612: [platform-testers] Emacs pretest 24.3.94 Date: Thu, 02 Oct 2014 16:09:24 -0400 Message-ID: References: <542DA601.9090709@gmail.com> <83oatui79m.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1412280618 18161 80.91.229.3 (2 Oct 2014 20:10:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Oct 2014 20:10:18 +0000 (UTC) Cc: 18612@debbugs.gnu.org, Assaf Gordon To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 02 22:10:11 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XZmhU-0004Kh-Fo for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Oct 2014 22:10:08 +0200 Original-Received: from localhost ([::1]:36276 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZmhT-0006Jm-NU for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Oct 2014 16:10:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54702) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZmhQ-0006JF-Jp for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2014 16:10:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZmhO-0001fT-ML for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2014 16:10:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39613) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZmhO-0001fN-K2 for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2014 16:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XZmhO-0002ky-4r for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2014 16:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Oct 2014 20:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18612 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18612-submit@debbugs.gnu.org id=B18612.141228056810547 (code B ref 18612); Thu, 02 Oct 2014 20:10:02 +0000 Original-Received: (at 18612) by debbugs.gnu.org; 2 Oct 2014 20:09:28 +0000 Original-Received: from localhost ([127.0.0.1]:59410 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XZmgq-0002k2-8z for submit@debbugs.gnu.org; Thu, 02 Oct 2014 16:09:28 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:33457) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XZmgo-0002js-0E for 18612@debbugs.gnu.org; Thu, 02 Oct 2014 16:09:26 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1XZmgm-0006sc-HS; Thu, 02 Oct 2014 16:09:24 -0400 X-Spook: industrial intelligence Mena strategic diwn mailbomb NASA X-Ran: ?=3"A]5.JTKYAp~'0uh$#s?Bmq8+_lh}8=l*"&~+>(G0.fooY)M60nc}tX8Dd (Eli Zaretskii's message of "Thu, 02 Oct 2014 22:47:01 +0300") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:94044 Archived-At: 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?