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

ruby-changes:66547

From: Nobuyoshi <ko1@a...>
Date: Tue, 22 Jun 2021 09:48:06 +0900 (JST)
Subject: [ruby-changes:66547] 4b28fea6ee (master): Run ifchange with shell explicitly, workaround of noexec mount

https://git.ruby-lang.org/ruby.git/commit/?id=4b28fea6ee

From 4b28fea6ee9682dfad2afa2138c0e5820babadaa Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Fri, 7 May 2021 00:10:16 +0900
Subject: Run ifchange with shell explicitly, workaround of noexec mount

---
 configure.ac         | 2 +-
 template/Makefile.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 38ab4bd..09d9f72 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4144,7 +4144,7 @@ guard=INCLUDE_RUBY_CONFIG_H https://github.com/ruby/ruby/blob/trunk/configure.ac#L4144
 } | tr -d '\015' |
 (
   AS_IF([test "x$CONFIGURE_TTY" = xyes], [color=--color], [color=])
-  exec ${tooldir}/ifchange $color "${config_h}" -
+  exec ${SHELL} ${tooldir}/ifchange $color "${config_h}" -
 ) >&AS_MESSAGE_FD || AC_MSG_ERROR([failed to create ${config_h}])
 tr -d '\015' < largefile.h > confdefs.h
 rm largefile.h
diff --git a/template/Makefile.in b/template/Makefile.in
index d714263..60a068d 100644
--- a/template/Makefile.in
+++ b/template/Makefile.in
@@ -217,7 +217,7 @@ ARFLAGS       = @ARFLAGS@$(empty) https://github.com/ruby/ruby/blob/trunk/template/Makefile.in#L217
 RANLIB        = @RANLIB@
 AS            = @AS@
 ASFLAGS       = @ASFLAGS@ $(ARCH_FLAG) $(INCFLAGS)
-IFCHANGE      = $(tooldir)/ifchange
+IFCHANGE      = $(SHELL) $(tooldir)/ifchange
 OBJDUMP       = @OBJDUMP@
 OBJCOPY       = @OBJCOPY@
 HAVE_GIT      = @HAVE_GIT@
-- 
cgit v1.1


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

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