[前][次][番号順一覧][スレッド一覧]

ruby-changes:55969

From: Takashi <ko1@a...>
Date: Mon, 3 Jun 2019 21:26:14 +0900 (JST)
Subject: [ruby-changes:55969] Takashi Kokubun: 11d3986d65 (trunk): common.mk is NOT working with /bin/sh anymore

https://git.ruby-lang.org/ruby.git/commit/?id=11d3986d65

From 11d3986d6557eb3cfcecbdd0ef6e21b18c7c960b Mon Sep 17 00:00:00 2001
From: Takashi Kokubun <takashikkbn@g...>
Date: Mon, 3 Jun 2019 21:15:54 +0900
Subject: common.mk is NOT working with /bin/sh anymore

at least on Ubuntu.

The brace expansion does not work on Ubuntu /bin/sh (dash), and so
4c0e21add7c87b70df27fbff81d8f192a467556d effectively broke /bin/sh
compatibility of common.mk.
I guess he was using macOS whose /bin/sh is bash.

diff --git a/Makefile.in b/Makefile.in
index 1cac12a..3a97ac3 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/Makefile.in#L1
 # -*- mode: makefile-gmake; indent-tabs-mode: t -*-
 
-SHELL = /bin/sh
+SHELL = /bin/bash
 NULLCMD = @NULLCMD@
 n=$(NULLCMD)
 ECHO1 = $(V:1=$n)
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]