From c1138f066a3fea947fb162912dd7a4c50c2a978c Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 28 Feb 2017 00:00:33 +0000 Subject: [PATCH] Makefile.in: CHDIR to srcdir * Makefile.in (update-mspec, update-rubyspec): use CHDIR, which may use -P, to resolve symbolic links. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index f5940555f9..c182949427 100644 --- a/Makefile.in +++ b/Makefile.in @@ -473,7 +473,7 @@ update-mspec: $(Q1:0=:) set -x; \ exec git clone $(MSPEC_GIT_URL) spec/mspec; \ fi - $(Q)cd $(srcdir)/spec/mspec && exec git --no-pager log -1 --oneline + $(Q)$(CHDIR) $(srcdir)/spec/mspec && exec git --no-pager log -1 --oneline update-rubyspec: update-mspec @$(CHDIR) $(srcdir); \ @@ -487,7 +487,7 @@ update-rubyspec: update-mspec $(Q1:0=:) set -x; \ exec git clone $(RUBYSPEC_GIT_URL) spec/rubyspec; \ fi - $(Q)cd $(srcdir)/spec/rubyspec && exec git --no-pager log -1 --oneline + $(Q)$(CHDIR) $(srcdir)/spec/rubyspec && exec git --no-pager log -1 --oneline test-rubyspec-precheck: @if [ ! -d $(srcdir)/spec/rubyspec ]; then echo No rubyspec here. make update-rubyspec first.; exit 1; fi