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

ruby-changes:65474

From: Yusuke <ko1@a...>
Date: Wed, 17 Mar 2021 23:14:04 +0900 (JST)
Subject: [ruby-changes:65474] 1d80d70314 (master): autogen.sh: Make it work with sh (not bash)

https://git.ruby-lang.org/ruby.git/commit/?id=1d80d70314

From 1d80d703141f01383604022f9e8e53e10865197c Mon Sep 17 00:00:00 2001
From: Yusuke Endoh <mame@r...>
Date: Wed, 17 Mar 2021 23:13:22 +0900
Subject: autogen.sh: Make it work with sh (not bash)

---
 autogen.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/autogen.sh b/autogen.sh
index 68f8996..44a1922 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -2,7 +2,7 @@ https://github.com/ruby/ruby/blob/trunk/autogen.sh#L2
 
 PWD=
 case "$0" in
-*/*) srcdir="${0%/*}/";;
+*/*) srcdir=`dirname $0`;;
 *) srcdir="";;
 esac
 
-- 
cgit v1.1


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

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